The Jenkins home directory contains all the details of your Jenkins server configuration, details that you configure in the Manage Jenkins screen. These configuration details are stored in the form of a set of XML files. Much of the core configuration, for example, is stored in the config.xml file. Other tools-specific configuration is stored in other appropriately-named XML files: the details of your Maven installations, for example, are stored in a file called hudson.tasks.Maven.xml. You rarely need to modify these files by hand, though occasionally it can come in handy.
The Jenkins home directory also contains a number of subdirectories (see Figure 3-7). Not all of the files and directories will be present after a fresh installation, as some are created when required by Jenkins. And if you look at an existing Jenkins installation, you will see additional XML files relating to Jenkins configuration and plugins.
The main directories are described in more detail in Table 3-1.
Table 3-1. The Jenkins home directory structure
|.jenkins||The default Jenkins home directory (may be .hudson in older installations).|
|fingerprints||This directory is used by Jenkins to keep track of artifact fingerprints. We look at how to track artifacts later on in the book.|
|jobs||This directory contains configuration details about the build jobs that Jenkins manages, as well as the artifacts and data resulting from these builds. We look at this directory in detail ...|