java 连接linux失败,Jenkins连接Linux失败
源自:3-11 嘗試連接
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]?連接關閉
配置如下:
求大神高見~!
提問者:曉之蛇
2019-05-16 21:16
總結
以上是生活随笔為你收集整理的java 连接linux失败,Jenkins连接Linux失败的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux 中断程序设计,Linux中断
- 下一篇: eclipse中设置Linux编码环境,