Learning Jenkins

Start

Setup Jenkins

$ docker run \
  --rm \
  -u root \
  -p 38080:8080  \
  -p 50000:50000 \
  -v jenkins-data:/var/jenkins_home \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v "$HOME":/home \
  jenkinsci/blueocean

Start browser and install plugins, create user

$ chrome localhost://38080

Shell access to Jenkins docker

$ docker exec -it jenkins-tutorials bash

Links

Local Continuous Delivery Environment With Docker and Jenkins