提交 e877db16 编写于 作者: K Kohsuke Kawaguchi

explaining where winsw comes from

上级 db2acfd5
......@@ -47,6 +47,9 @@ public class WinswSlaveRestarter extends SlaveRestarter {
}
public void restart() throws Exception {
// winsw 1.16 supports this operation. this file gets updated via windows-slaves-plugin,
// so it's possible that we end up in the situation where jenkins-slave.exe doesn't support
// this command. If that is the case, there's nothing we can do about it.
int r = exec("restart!");
throw new IOException("Restart failure. '"+exe+" restart' completed with "+r+" but I'm still alive");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册