December 2017
Beginner to intermediate
362 pages
8h 35m
English
Before we start using Jenkins, there is one important thing to configure, the jenkins_home path. When you install Jenkins as a service on Tomcat, the jenkins_home path is automatically set to /root/.jenkins/. This is the location where all of the Jenkins configurations, logs, and builds are stored. Everything that you create and configure on the Jenkins dashboard is stored here.
We need to make it something more accessible, something like /var/jenkins_home. This can be done in the following way:
sudo systemctl stop tomcat
sudo nano /opt/tomcat/conf/context.xml
Read now
Unlock full access