Skip to content

Jenkins docker image with already configured jobs and plugins

Notifications You must be signed in to change notification settings

RitreshGirdhar/Customized-Jenkins-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Set Up jenkins via docker plus includes pre-configured pipelines jenkins jobs

This sample application will help you in building a custom jenkins docker image which contains pre-installed plugins and sample jobs.

My requirement was to share our current CI/CD pipeline jobs with the list of plugins to the Operation or another team who are also working on same project. Instead of sharing the common server and making dependencies we preferred this approach.

How to run it.

  • Checkout the code first
docker build -t 'jenkins-with-docker' .

For Linux & Mac

docker run -d -p 8080:8080 --name "jenkins-with-docker" -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):/usr/bin/docker jenkins-with-docker

For Windows

docker run -d -p 8080:8080 --name "jenkins-with-docker" -v /var/run/docker.sock:/var/run/docker.sock -v $(where docker):/usr/bin/docker jenkins-with-docker

Alt text

About

Jenkins docker image with already configured jobs and plugins

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published