- Jenkins:1.642.2
- 从Windows 2012 R2
- JDK 1.7版本
在Windows从服务器中,我检查了service.msc,但未找到Jenkins从服务器,当我在管理Jenkins中打开管理节点时,我单击:使此节点重新联机我有此日志:
[windows-slaves] Connecting to WS8888
Checking if Java exists
java -version returned 1.7.0.
[2016-09-29 14:44:52] [windows-slaves] Installing the Jenkins slave service
[2016-09-29 14:44:52] [windows-slaves] Copying jenkins-slave.exe
[2016-09-29 14:44:52] [windows-slaves] Copying slave.jar
[2016-09-29 14:44:52] [windows-slaves] Copying jenkins-slave.xml
[2016-09-29 14:44:52] [windows-slaves] Registering the service
[2016-09-29 14:44:52] [windows-slaves] Starting the service
[2016-09-29 14:44:52] [windows-slaves] Waiting for the service to become ready
[2016-09-29 14:44:57] [windows-slaves] Connecting to port 56,783
<===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.53.3
This is a Windows slave
我检查服务。msc我找到服务:“F:\slave_jenkins处的Jenkins从机”,但当我从Jenkins停止从机时,服务消失
我尝试删除服务并创建新服务,但不起作用,如果我从ManageNodes重新启动从属服务,则会创建服务,但注意到稳定,每10小时断开连接一次
1条答案
按热度按时间yizd12fk1#
在从机中尝试使用jenkins用户安装从服务。这可能会解决问题。