提交 2b1ef0bf 编写于 作者: J James Nord

Merge pull request #1551 from jenkinsci/jtnord/ZD23347

Add extra info if the slave can not restart correctly.
......@@ -51,7 +51,9 @@ public class WinswSlaveRestarter extends SlaveRestarter {
// 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");
throw new IOException("Restart failure. '"+exe+" restart' completed with "+r+" but I'm still alive! "
+ "See https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds#Distributedbuilds-Windowsslaveserviceupgrades"
+ " for a possible explanation and solution");
}
private static final Logger LOGGER = Logger.getLogger(WinswSlaveRestarter.class.getName());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册