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

How do you plan a Jenkins LTS upgrade?

IntermediateConceptBackups, HA, upgrades & performance
Answer
  1. Read the LTS upgrade guide for every version you cross (Java requirement changes, removed features).
  2. Build a new controller image with the new core and updated plugins.txt (jenkins-plugin-cli --jenkins-version <new> --available-updates).
  3. Restore a copy of production JENKINS_HOME into staging and boot the new image; check logs for plugin load failures and "old data" warnings.
  4. Run smoke pipelines (agents, libraries, credentials, deploys).
  5. Back up production, put it in quiet-down, swap the image, verify.
  6. Keep the old image and the backup for rollback; plugin data migrations may not be reversible.
All Jenkins questions Roadmap: Jenkins

More on Backups, HA, upgrades & performance