slave windows 2012 R2
JDK 1.7
在Windows奴隶中我检查服务.msc但是我没有找到jenkins slave服务,当我在Manage 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
我检查service.msc我找到了服务:“Jenkins Slave at F:\ slave_jenkins” 但当我从詹金斯那里停止奴隶时,服务消失!!!!
我试图删除该服务并创建一个新服务不起作用,如果我从ManageNodes重新启动从属服务si创建但是注意稳定每10小时断开
任何帮助,请
答案 0 :(得分:0)
在从机中尝试使用jenkins用户安装从属服务。它可以解决问题。