You need to upgrade from Jenkins 2.426 LTS (Java 11) to the current LTS. What is your sequence?
IntermediateScenarioOperations: scale, HA, upgrades & performance
Answer
Situation read → Two big changes: Java runtime and core/plugins.
What I'd do →
- First switch the existing version to Java 17 (2.426 supports 17), controller and agents; validate.
- Then upgrade core in LTS steps if the gap is large, reading each upgrade guide.
- Update plugins with
jenkins-plugin-cli --jenkins-version <target> --available-updatesin staging. - Test on a restored copy of production data, then upgrade production with a backup and rollback image.
Why → Separating Java and Jenkins upgrades isolates failures.
Interview tip → Remember agents also need Java 17+ for current remoting.
More on Operations: scale, HA, upgrades & performance
Jenkins is a single VM with local disk and no backups. The business wants an RTO of 1 hour. Design recovery.AdvancedQueue length spikes to 80 every morning at 9:30 and builds wait 15 minutes. How do you analyse and fix?IntermediateThe controller has 12 GB heap and still does full GCs every few minutes. What do you investigate?AdvancedBuild history is needed for 2 years for compliance, but the controller disk is filling. What do you do?IntermediateA plugin update caused the controller to fail on startup in production. Recover.IntermediateYour controller serves 2,000 developers and 4,000 jobs. When do you split, and how?Advanced