Jenkins 有用的API
/quietDown
: Put Jenkins in a Quiet mode, in preparation for a restart. In that mode Jenkins don’t start any build/cancelQuietDown
: Cancel the effect of the “quiet-down” command/safeRestart
: Puts Jenkins into the quiet mode, wait for existing builds to be completed, and then restart Jenkins/safeExit
: Puts Jenkins into the quiet mode, wait for existing builds to be completed, and then shut down Jenkins