Jenkins was having issues and I safe rebooted it in order to solve the issue but the issue got solved the reboot. Some jobs have ours to run so is there way to cancel the reboot?

1 Answer 1


I assume you talk about jenkins cli?

There is no command to abort the safeRestart.
Use quiteDown, cancelQuietDown instead and safeRestart only if needed.

safeRestart: Puts Jenkins into the quiet mode, wait for existing builds to be completed, and then restart Jenkins
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.