In the Jenkins web interface, under Home directory (Dashboard -> Mange Jenkins -> Configure System), the help section says the following:
- "By default, Jenkins stores all of its data in this directory on the file system", referring to /var/lib/jenkins
- "Edit the JENKINS_HOME variable in your Jenkins configuration file (e.g. /etc/sysconfig/jenkins on Red Hat Linux)"
However, my etc directory doesn't have a directory called sysconfig.
Running the following command returns a lot of files among which only the following seems relevant:
find ~/ -type f -name "config.xml"
<...>
/var/lib/jenkins/config.xml
<...>
The file contains the following field:
<workspaceDir>${JENKINS_HOME}/workspace/${ITEM_FULL_NAME}</workspaceDir>
Is this the correct field to edit? If so, which syntax should I follow while entering the desired path?