This setup is inspired and uses Code from the jobdsl gradle example by sheehan.
It is included and published to give an overall overview on how everything integrates and can be used with our docker-boxes project that is used to automatically set up a Jenkins with jobs, auto discovery using Consul and binding all servers behind an Nginx proxy.
# Check out this repository
git clone --depth 1 https://github.com/i-net-software/docker-boxes-demo.git && cd docker-boxes-demo
# and run:
./gradlew jenkins:start
This will deploy the jenkins container locally. Add -DDOCKER_HOST=x.x.x.x:yy
for a specific docker running machine.
Beware: this project is tightly coupled with the docker-boxes project.