A strange thing happen sometime, Jenkins start displaying " Jenkins is going to shut down" even when nobody turned this message on and restarting Jenkins.
Screenshot:
This message is displayed when someone with enough administration rights has clicked "Prepare for Shutdown" from the global configuration, or went to http://jenkins/safeRestart
URL.
If you are absolutely sure that none of the administration have clicked "Prepare for Shutdown" (which you cannot be sure of, unless you are the only administrator), then you should look for someone using your credentials, either directly in browser, or through command line.
Review your webserver's access logs and see if anyone or anything (some script) is accessing the /safeRestart
URL and /quietDown
URL.
I have a plug in "Thin backup" which was configured to shut down after back up. Changed this setting and it is working fine now. It's bit tricky to find it because this plug in is not under configure system, its under manage jenkins. You can easily miss it.
To get rid of the 'Shutdown' message one can also login to the actual Jenkins admin section, go to "Manage Jenkins" link on the left then click on ->"Cancel Shutdown"
来源:https://stackoverflow.com/questions/26218018/jenkins-is-going-to-shut-down