Installing the Jenkins slave service by Jenkins

0 votes

jenkins : 1.642.2

slave windows 2012 R2

JDK 1.7

In the Windows slave I’ve checked the service .msc but i don't find the jenkins slave service, when i open manage node in the Manage jenkins and click : Bring this node back online, i have this following log :

[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

when i stop the slave from jenkins this service disappears.

Aug 14, 2018 in Jenkins by Hannah
• 14,080 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
In the slave machine try install the slave service with the jenkins user. You can install a slave service in windows machine (master can be in linux) check the slave folder configured in slave configuration (folder created in slave machine(windows)). if not create the folder in slave machine and verify jenkins-slave.exe is available in the folder.
answered Aug 14, 2018 by Kalgi
• 35,720 points

Related Questions In Jenkins

0 votes
1 answer
0 votes
2 answers

Is possible for Jenkins to auto start and stop slave nodes?

Try Jenkins Plugin called as Slave SetupPlugin. This ...READ MORE

answered Aug 6, 2018 in Jenkins by Nilesh
• 6,900 points
0 votes
1 answer

Print the line if it contains a specific string by using groovy.

You can try the code written below: ...READ MORE

answered Apr 27, 2018 in Jenkins by shubham
• 6,480 points
+13 votes
2 answers
0 votes
1 answer
0 votes
2 answers

will running multiple Jenkins masters on same host increase the performance?

While using one big master, u can ...READ MORE

answered Aug 7, 2018 in Jenkins by Kalgi
• 35,720 points
+1 vote
3 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.