Interview Prep/Jenkins/Backups, HA, upgrades & performance

What is the impact of `buildDiscarder` on disk and performance?

BeginnerConceptBackups, HA, upgrades & performance
Answer

Each retained build keeps a directory with its log, metadata, test results and artifacts. Jobs with 10,000 builds take longer to load and fill the disk. buildDiscarder(logRotator(numToKeepStr: '30', daysToKeepStr: '30', artifactNumToKeepStr: '5')) keeps history manageable. Set a global default with the Discard Old Build plugin or enforce it in your shared library's pipeline template.

All Jenkins questions Roadmap: Jenkins

More on Backups, HA, upgrades & performance