Hudson Build Server - 关闭从机的问题
我是 Hudson 的新手,我有一个问题。 我正在尝试在愚蠢的奴隶上建立一些工作,然后我需要关闭该奴隶。(机器)。但是,有以下问题:我尝试了很多方法, 使用“shutdown /s /t 120”,启动在平板上复制的包含此内容的.bat文件,甚至启动.jar文件来关闭。结果是否定的。运行“shutdown /s /t 120”时我收到 “‘关机’不被识别为内部或外部命令, 可运行的程序或批处理文件。”。 有人解决了这样的问题或有任何建议吗?
谢谢 :)
I am new to Hudson and I have a question.
I'm trying to build some jobs on dumb slave and after that I need to shutdown that slave.(the machine). However, there is the following issue: I've tryed many ways,
using "shutdown /s /t 120", starting .bat file copyed at the slabe with this content, even starting .jar file to shutdown. And the result is the negative. When running "shutdown /s /t 120" I receive
"'shutdown' is not recognized as an internal or external command,
operable program or batch file.".
Does anybody solved such issue or have any suggestions?
Thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试运行 cmd.exe /c shutdown /r /t 120
Try running
cmd.exe /c shutdown /r /t 120