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
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/
NEXUS_SERVICE_HOST
host where nexus is runningNEXUS_SERVICE_PORT
port where nexus is running