Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 331 Bytes

README.md

File metadata and controls

15 lines (14 loc) · 331 Bytes

Jenkins with pipeline plugin

Dockerfile building jenkins with plugins for pipeline

Create docker-volume for persistence.

docker volume create --name jenkins_data

Build the image

docker build -t myjenkins .

Run jenkins

docker run -d -p 8080:8080 -p 50000:50000 -v jenkins_data:/var/jenkins_home myjenkins