I am using jenkins 2.319 version on my local CentOS 7.0 machine. When I am adding a new agent/node to my Jenkins server I can see that its copying the remoting.jar file from the controller to the slave node but i could not see the remoting.jar file on my controller server. Can anyone help me in locating this file on my controller node.
[03/08/22 01:20:42] [SSH] Starting agent process: cd "/var/jenkins" && java -jar remoting.jar -workDir /var/jenkins -jar-cache /var/jenkins/remoting/jarCache
Mar 08, 2022 6:20:58 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using /var/jenkins/remoting as a remoting work directory
Mar 08, 2022 6:20:58 AM org.jenkinsci.remoting.engine.WorkDirManager setupLogging
INFO: Both error and output logs will be printed to /var/jenkins/remoting
It appears to be bundled in the jenkins.war file.
On my jenkins installation there was a copy of the jenkins.war file already extracted at:
/var/lib/jenkins/%C/jenkins/war/
and the remoting jar can be found in:
/var/lib/jenkins/%C/jenkins/war/WEB-INF/lib/remoting-[version].jar
There was also the unextracted war file available at:
/usr/share/java/jenkins.war
which you can unzip into a directory and then find the remoting jar at:
WEB-INF/lib/remoting-[version].jar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With