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.
More on Jenkins in Production
How do you run Jenkins for high availability and scale?AdvancedHow do you tune the Jenkins controller JVM and avoid out-of-memory crashes?AdvancedHow do you back up and restore Jenkins?IntermediateHow do you harden a Jenkins controller?AdvancedHow do you configure dynamic Kubernetes agents in Jenkins for production use?IntermediateWhat are the pitfalls of Docker socket mounting in Jenkins agents, and what are alternatives?Advanced