Skip to content

devopskube/jenkins-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins CI Server

This is a Jenkins CI server with build dependencies installed

In addition this Jenkins comes pre configured to work with a local on premise Nexus service using the following environment variables (usually supplied via Kubernetes)

  • $NEXUS_SERVICE_HOST
  • $NEXUS_SERVICE_PORT

Running this container

docker run -it -p 8080:8080 --name jenkins -e SEED_GIT_URL=https://github.com/fabric8io/default-jenkins-dsl.git -e NEXUS_SERVICE_HOST=dockerhost -e NEXUS_SERVICE_PORT=8081 fabric8/jenkins

Where dockerhost is the host running nexus. You may wish to run nexus using these instructions

If dockerhost is the host running docker then you can view the running Jenkins at http://dockerhost:8080/

Environment variables

  • NEXUS_SERVICE_HOST host where nexus is running
  • NEXUS_SERVICE_PORT port where nexus is running

About

docker file for a jenkins docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 77.9%
  • Shell 22.1%