Why does Prepare for Shutdown not seem to work?

Article ID:204457744
1 minute readKnowledge base

Issue

If we go on a controller and click 'Prepare for Shutdown', we get the red bar up top saying 'Jenkins is going to shut down'. But nothing else happens.

Environment

CloudBees Jenkins Enterprise

Resolution

The Prepare for Shutdown feature prevents any more jobs from running. When all jobs are finished, you still need to restart/stop the instance manually.

You can do this from https://<JENKINS_URL>/restart

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.