In this recipe, we will discuss the directories available in the JENKINS_HOME directory.
Understanding JENKINS_HOME directory
Getting ready
Locate the JENKINS_HOME directory from the Environment Variables, or go to the default locations where JENKINS_HOME is available in different operating systems.
How to do it...
- You have many files and directories in the JENKINS_HOME directory. We will give brief information on some important files and directories:
- The following are some important files and directories in the JENKINS_HOME directory:
config.xml |
Jenkins root configuration file |
fingerprints |
It stores fingerprint records, if any |
plugins |
It is a root directory for all Jenkins plugins |
jobs |
It is a root directory for all Jenkins jobs |
logs |
It stores all log files |
secrets |
It is a root directory for the secret + key for credential decryption |
users |
It stores all user-related details in Jenkins |
war |
It stores all details related to the JENKINS_WAR file |
workspace |
It stores all the files and artifacts related to different build jobs, and it moves content to jobs directory when archiving elements. |
See also
In the JENKINS_HOME directory, open config.xml in any of the text editors and review the options available in the file.