Interview Prep/CI/CD/Jenkins in Production

What do you do when Jenkins itself will not start after an upgrade?

AdvancedProductionJenkins in Production
Answer

Read the logs first (journalctl -u jenkins or the container log), where a plugin dependency error or a ClassNotFoundException usually names the culprit. Typical recovery: move the offending plugin's .jpi out of plugins/ (or roll back plugin versions in plugins.txt), start in safe mode if needed, or restore from the pre-upgrade snapshot. This is why every upgrade starts with a backup and a staging rehearsal, and why the controller is deployable from a known-good image tag.

journalctl -u jenkins -n 200 --no-pager
ls $JENKINS_HOME/plugins | grep -i <plugin>
All CI/CD questions

More on Jenkins in Production