hudson.util.IOException2: Could not copy slave.jar into '/home/jenkins/ci' on slave

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Yves Schumann, 1 year 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
via Stack Overflow by Michal Dočkal
, 1 year ago
Could not copy slave.jar into 'c:\Users\jenkins' on slave
via nabble.com by Unknown author, 1 year ago
via Stack Overflow by PapelPincel
, 1 year ago
Could not copy slave.jar into '/home/<user>/jenkins' on slave
via Jenkins JIRA by Guy Sheffer, 1 year ago
Could not copy slave.jar into '/home/packaging/test' on slave
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)
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:1054)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.