Command to perform "Prepare for Shutdown" task
Is there a command that will put the hudson in maintenance mode. I mean, before shutting down the Hudson we first need to click "Prepare for Shutdown" button in "Manage Hudson" UI page, is it possible to do the above task from command-line.
Im writing a script to main开发者_StackOverflow社区tain the hudson - where in first i need to shutdown hudson, upgrade hudson, start hudson.
there are commands for Shutdown and start of Hudson. Looking for command that will prepare hudson for shutdown.
http://your-server-name/hudson/quietDown
You should be able to call that address using wget
in Linux to put Hudson into "prepare for shutdown" mode. Not sure how you would do that in Windows, though.
精彩评论