Public | Automated Build

Last pushed: a month ago
Short Description
Auto discovery data. Provides templates to set up an Nginx with URL extension points to the service
Full Description

Jenkins Discovery


Run the folliwng command from the bash:

curl -fsSL | bash -s --

It will download the newest version of the (then the repository) and and tries to run docker-compose -f <yml> up -d to start the whole discovery setup.

##Manual start


You need docker see here

You need docker-compose to run the current setup and you need to specify HOST_ADDRESS as environment variable.

  • For docker-compose:

    apt-get install python-pip # if you are on Ubuntu or similar
    pip install docker-compose functools32
  • The HOST_ADDRESS - this IP will be used to advertise the correct IP to Nginx for the redirects.

    export HOST_ADDRESS=X.X.X.X

Running the discovery

From this directory run:

docker-compose build && docker-compose up

##Running the Jenkins Docker container

Our setup is based up on the inetsoftware/jenkins-autosetup iamge. You need to specify some more environment variables for the docker process to correctly register and use the Jenkins with this auto discovery.

export SERVICE_NAME=<your service name>
docker run -dp 80:8080 -e AUTOSETUP="svn://<user>:<password>@<url>/<path>" -e SERVICE_8080_NAME="$SERVICE_NAME"" -e JENKINS_OPTS="--prefix=/$SERVICE_NAME" -e SERVICE_8080_TAGS=jenkins inetsoftware/jenkins-autosetup

Please make sure that the SERVICE_NAME does only contain urlencodable characters. e.g. do not use spaces or special chars.

Docker Pull Command
Source Repository