Jenkins
Introduction
This page is to provide some tips using the Jenkins Build implementation
Setup
By default the home directory is
/var/lib/jenkins
You need to move this as /var/lib is not allowed for docker.
To do this you need to change the jenkins.service which resides in /lib/systemd/system/jenkins.service.
... # Directory where Jenkins stores its configuration and workspaces #Environment="JENKINS_HOME=/var/lib/jenkins" #WorkingDirectory=/var/lib/jenkins
Environment="JENKINS_HOME=/home/jenkins" ...