Skip to content

ggnix/docker_jenkins_groovy

Repository files navigation

docker_jenkins_groovy

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.

Manual deployment

Build

Build the container yourself by running the following command from the project directory containing the Dockerfile:
docker build -t jenkins_image .

Run

docker run -d -p 8080:8080 --name jenkins_image jenkins_container

Access Jenkins

http://localhost:8080

Ansible container deployment

Deploy container with the following command:

ansible-playbook deploy_image.yml -k

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages