$JENKINS_HOME
is where all Jenkins-based installations store configuration, build logs, and artifacts.
Before determining which subdirectories of $JENKINS_HOME
to include in your backup, you need to understand what is included in $JENKINS_HOME
. For example, do you want to backup your build history? your artifacts? your cache?
Directory | Description |
---|---|
|
Root configuration |
|
Credentials file, encrypted using the secret key from the |
|
Additional configuration files |
|
Files to server under |
|
Fingerprint records |
|
Agent configuration |
|
Plugins installed |
|
Secrets for credentials |
|
Working directory used for version control |
|
Job directories, one per job |
|
Directory for storing job files |
|
Sub-directory for |
|
Configuration file for YOUR_JOB_NAME, one per |
|
Symbolic link to last successful build |
|
Sub-directory for job builds |
|
Summary of build results, one per each unique `BUILD_NUMBER ` |
|
Log file, one per each unique |
|
Changelog, one per each unique |