mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 13:02:19 +00:00
Add extra info if the slave can not restartc correctly.
If the service can not reliably restart itself add link to the wiki with some information about how to fix it.
This commit is contained in:
1 parent
00c858d403
commit
bffb409b9e
1 file changed
+3
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user