jenkins 控制器上的 remoting.jar 文件位置
我在本地 CentOS 7.0 机器上使用 jenkins 2.319 版本。当我向 Jenkins 服务器添加新代理/节点时,我可以看到它将 remoting.jar 文件从控制器复制到从属节点,但我看不到 remoting.jar 我的控制器服务器上的文件。任何人都可以帮助我在我的控制器节点上找到这个文件。
[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
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它似乎捆绑在 jenkins.war 文件中。
在我的 jenkins 安装中,已在以下位置提取了 jenkins.war 文件的副本:
/var/lib/jenkins/%C/jenkins/war/
远程处理 jar 可以在以下位置找到:
/var/lib/jenkins/%C/jenkins/war/WEB-INF/lib/remoting-[version].jar
还有未解压的 war 文件,位于:
/usr/share/java/jenkins.war
您可以将其解压到一个目录中,然后在以下位置找到远程处理 jar:
WEB-INF/lib/remoting-[版本].jar
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
当您配置要手动连接的新永久节点时,Jenkins 将向您提供此页面,其中包含如何连接该节点的说明
从代理命令行运行:(Unix)
从代理命令行运行:(Windows)
或从代理命令运行行,秘密存储在文件中:(Unix)
或从代理命令行运行,秘密存储在文件中:(Windows)
When you configure a new Permanent node that is to be manually connected, Jenkins will give you this page with instructions how to connect the node
Run from agent command line: (Unix)
Run from agent command line: (Windows)
Or run from agent command line, with the secret stored in a file: (Unix)
Or run from agent command line, with the secret stored in a file: (Windows)