Interview Prep/CI/CD/Jenkins in Production

How do you upgrade Jenkins and its plugins safely?

IntermediateProductionJenkins in Production
Answer

Follow a routine: read LTS release notes and plugin changelogs, upgrade a staging controller restored from production backup, run representative pipelines, then upgrade production in a window with a fresh backup. Update LTS line monthly and security advisories promptly. Bake the controller image with jenkins-plugin-cli and a locked plugins.txt so upgrades are a Git change. Avoid in-place upgrades via UI on production, and use the Plugin Manager's compatibility warnings and the Plugin Installation Manager's --list to inspect dependencies.

All CI/CD questions

More on Jenkins in Production