Command safe-shutdown
java -jar jenkins-cli.jar -s https://team.marrigewell.com/jenkins/ -webSocket safe-shutdown
Puts Jenkins into the quiet mode, wait for existing builds to be completed, and then shut down Jenkins.
java -jar jenkins-cli.jar -s https://team.marrigewell.com/jenkins/ -webSocket safe-shutdown
Puts Jenkins into the quiet mode, wait for existing builds to be completed, and then shut down Jenkins.