How do you plan a Jenkins LTS upgrade?
IntermediateConceptBackups, HA, upgrades & performance
Answer
- Read the LTS upgrade guide for every version you cross (Java requirement changes, removed features).
- Build a new controller image with the new core and updated
plugins.txt(jenkins-plugin-cli --jenkins-version <new> --available-updates). - Restore a copy of production
JENKINS_HOMEinto staging and boot the new image; check logs for plugin load failures and "old data" warnings. - Run smoke pipelines (agents, libraries, credentials, deploys).
- Back up production, put it in quiet-down, swap the image, verify.
- Keep the old image and the backup for rollback; plugin data migrations may not be reversible.
More on Backups, HA, upgrades & performance
What do you back up in Jenkins and what do you exclude?IntermediateHow do you back up Jenkins running on Kubernetes?IntermediateDoes Jenkins support active-active high availability?AdvancedWhat does "Manage Old Data" mean after an upgrade?BeginnerHow do you size and tune the controller JVM?AdvancedWhat are the most common causes of a slow Jenkins controller?Intermediate