Interview Prep/Jenkins/Operations: scale, HA, upgrades & performance

A plugin update caused the controller to fail on startup in production. Recover.

IntermediateScenarioOperations: scale, HA, upgrades & performance
Answer

Situation read → Need fast rollback.

What I'd do →

  1. Roll back to the previous controller image (with the old plugins.txt); with Kubernetes, helm rollback or revert the image tag.
  2. If plugins were installed into JENKINS_HOME manually, remove the bad .jpi from plugins/ (or rename to .jpi.disabled) and restart.
  3. Check logs for the root cause (SEVERE: Failed Loading plugin).
  4. Reproduce in staging before retrying.

Why → Image-based plugins make rollback a redeploy.

Interview tip → Mention that plugin data migrations can make rollback partial; always back up before upgrades.

All Jenkins questions Roadmap: Jenkins

More on Operations: scale, HA, upgrades & performance