redbyzan / jenkins-docker

docker file for a jenkins docker image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Groovy 77.9%Language:Shell 22.1%