Jenkins: Administration Flashcards
1
Q
Best practices for disk space (Jenkins)
A
- Offload artifacts, logs, backups, and other files to external storage such as Nexus or Artifactory so that they are not stored on the Jenkins controller.
- Configure a separate disk on the controller just to hold backups. You can back up Jenkins files to a local director, then copy those files to an external location.
- Big disks are recommended, although it is not necessary to invest in 15000rpm SCSI disks.
- Low latency SSD drives can significantly enhance the performance of the Jenkins cluster.
- Expandable volumes such as LVM on Linux or “spanned volumes” on Windows enable you to create very large virtual disks.
- Disks can be network mounted using either NFS or SAN.
- The Jenkins home directory ($JENKINS_HOME) should be its own filesystem.
2
Q
$JENKINS_HOME directory content
A
/var/lib/jenkins (default)
- config.xml - general configuration file
- jobs: build job workspace, history and artifacts
- plugins - installed plugins
- USERS - local user database
3
Q
A