开发者

Command to perform "Prepare for Shutdown" task

开发者 https://www.devze.com 2023-03-02 17:51 出处:网络
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 poss

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消