This a containerized version of Jenkins with groovy init scripts running on startup. Jenkins contains default job called "Example_job" which executes simple command "echo Hello World!" triggered by Seed job. Administrator user will be added on startup. Seed job scheduled for execution when Jenkins is started.
Build the container yourself by running the following command from the project directory containing the Dockerfile:docker build -t jenkins_image .
docker run -d -p 8080:8080 --name jenkins_image jenkins_container
http://localhost:8080
Deploy container with the following command:
ansible-playbook deploy_image.yml -k