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

if launcher fails to connect silently, report an error

上级 cddcd8f0
......@@ -192,7 +192,6 @@ public class SlaveComputer extends Computer {
log.rewind();
try {
launcher.launch(SlaveComputer.this, taskListener);
return null;
} catch (AbortException e) {
taskListener.error(e.getMessage());
throw e;
......@@ -208,6 +207,10 @@ public class SlaveComputer extends Computer {
if (channel==null)
offlineCause = new OfflineCause.LaunchFailed();
}
if (channel==null)
throw new IOException("Slave failed to connect, even though the launcher didn't report it. See the log output for details.");
return null;
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册