Skip to content

iuccio/jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins

Official Jenkins Docker image.

How to install

We need the list of installed plugins to re-build and re-run our docker image with the already installed plugins. To do this we need to get the list of installed plugins with the below script (See Jenkins Installed Plugins List):

./plugin.sh

This script will generate the file plugins.txt. This file is used in our Dockerfile to install the plugins during the build of the image. When the image is built we can run the new image.

Docker compose

Run Jenkins with docker-compose

docker-compose up

Docker

Run Jenkins with docker

Build image

docker build -t my-jenkins:1.0.0 .

Run docker container

docker run -p 8080:8080 -p 50000:50000 -v content-folder:/var/jenkins_home my-jenkins:1.0.0

Documentations

https://stackoverflow.com/questions/41266889/jenkins-2-override-plugins-txt

https://technologyconversations.com/2017/06/16/automating-jenkins-docker-setup/

About

Jenkins dockerized

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published