hudson.util.IOException2

Could not copy slave.jar into '/home/jenkins/ci' on slave

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web909

  • Could not copy slave.jar into '/home/jenkins/ci' on slave
  • via Jenkins JIRA by Yves Schumann, 11 months ago
    Could not copy slave.jar into '/home/jenkins/ci' on slave
  • via Jenkins JIRA by Yves Schumann, 1 year ago
    Could not copy slave.jar into '/home/jenkins/ci' on slave
  • Stack trace

    • hudson.util.IOException2: Could not copy slave.jar into '/home/jenkins/ci' on slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:1056) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:1015) at hudson.plugins.sshslaves.SSHLauncher.access$300(SSHLauncher.java:126) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:656) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:642) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.io.IOException: Error during SCP transfer. at com.trilead.ssh2.SCPClient.put(SCPClient.java:523) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:1054) ... 8 more Caused by: java.io.IOException: Remote scp terminated unexpectedly. at com.trilead.ssh2.SCPClient.readResponse(SCPClient.java:50) at com.trilead.ssh2.SCPClient.sendBytes(SCPClient.java:140) at com.trilead.ssh2.SCPClient.put(SCPClient.java:519) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.