Jenkins连接Linux失败
启动方式没有launch slave agents via SSH选项。
错误如下:
[05/16/19 21:13:50] [SSH] Starting sftp client. [05/16/19 21:13:50] [SSH] 正在拷贝最新版本的 remoting.jar... java.io.IOException: Could not copy remoting.jar into '/root/.jenkins' on agent at hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:1109) at hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:128) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:866) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:833) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Could not copy remoting.jar to '/root/.jenkins/remoting.jar' on agent at hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:1104) ... 7 more Caused by: java.io.FileNotFoundException: remoting.jar at hudson.model.Slave$JnlpJar.getURL(Slave.java:430) at hudson.model.Slave$JnlpJar.connect(Slave.java:394) at hudson.model.Slave$JnlpJar.readFully(Slave.java:459) at hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:1096) ... 7 more [05/16/19 21:13:50] Launch failed - cleaning up connection [05/16/19 21:13:50] [SSH] 连接关闭
配置如下:
求大神高见~!