Re: java.io.IOException: Could not copy remoting.jar into '/var/lib/jenkins' on agent

2022-01-29 Thread Slide
Is there more to the stack trace? Can the Jenkins user write to /var/lib/jenkins? On Sat, Jan 29, 2022 at 12:22 PM Mark Waite wrote: > > > On Saturday, January 29, 2022 at 8:45:46 AM UTC-7 michael wrote: > >> >> I'm running out of options. >> >> > The Java version you're running is quite old. Y

Re: java.io.IOException: Could not copy remoting.jar into '/var/lib/jenkins' on agent

2022-01-29 Thread Mark Waite
On Saturday, January 29, 2022 at 8:45:46 AM UTC-7 michael wrote: > > I'm running out of options. > > The Java version you're running is quite old. You might try an experiment with a recent Java version (like 11.0.14 or 8u322) in case there is something in that old Java version that prevents

Re: java.io.IOException: Could not copy remoting.jar into '/var/lib/jenkins' on agent

2022-01-29 Thread Michael Renner
On Freitag, 28. Januar 2022 03:41:26 CET Senthil Nathan wrote: Moin, > Why is it copying into /var/lib/Jenkins. Is that your agent workspace root. yes, jenkins home is /var/lib/jenkins, so I choose use the same directory and UID for the executor on remote hosts. > /Var/libs/Jenkins looks like

Re: java.io.IOException: Could not copy remoting.jar into '/var/lib/jenkins' on agent

2022-01-27 Thread Senthil Nathan
[SSH] Starting sftp client. > [01/27/22 20:35:23] [SSH] Copying latest remoting.jar... > > java.io.IOException: Could not copy remoting.jar into '/var/lib/jenkins' on > agent > at > hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:739) >

java.io.IOException: Could not copy remoting.jar into '/var/lib/jenkins' on agent

2022-01-27 Thread Michael Renner
] [SSH] Starting sftp client. [01/27/22 20:35:23] [SSH] Copying latest remoting.jar... java.io.IOException: Could not copy remoting.jar into '/var/lib/jenkins' on agent at hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:739)