There are situations when I need to restart our busy production Jenkins server, perhaps to install a plugin. I use the “Prepare for Shutdown” option in Manage Jenkins, so as to not interrupt running jobs.
What I’d like is for the “Prepare for Shutdown” to be “sticky” so that when the server is restarted, it will not run any jobs until I allow it. That would let me check for proper operation without any important jobs being launched while I work. Any way to do this now?