连接Jenkins Windows Slave Agent时出错

时间:2018-12-14 16:58:03

标签: jenkins

Linux上的Jenkins服务器版本2.x 尝试添加Windows 2012从属代理。

已将多个Linux代理连接为节点,但是在连接Windows 2012代理时出现错误。它给出了一个错误“启动代理时发生意外错误。这可能是Jenkins中的错误。”

部分错误:

[12/14/18 08:35:43] [SSH] Starting agent process: cd 
"c:\jenkins" && java  -jar remoting.jar -workDir c:\jenkins

<===[JENKINS REMOTING CAPACITY]===>Dec 14, 2018 8:35:43 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using c:\jenkins\remoting as a remoting work directory
Both error and output logs will be printed to c:\jenkins\remoting

<===[JENKINS REMOTING CAPACITY]===>Exception in thread "main" java.io.EOFException: unexpected stream termination
    at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:411)ERROR: 
    at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:356)
Connection terminated
ERROR: Unexpected error in launching a agent. This is probably a bug in Jenkins.
    at hudson.remoting.Launcher.main(Launcher.java:743)
    at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:691)
hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Launcher.run(Launcher.java:373)
at hudson.remoting.Launcher.main(Launcher.java:283)
java.io.EOFException

0 个答案:

没有答案