windows jenkins slave shows offline

147 views
Skip to first unread message

ok999

unread,
Apr 19, 2016, 1:32:29 AM4/19/16
to Jenkins Users
i have a jenkins master (linux) and a jenkins slave (win 2008r2). The "Launch MEthod" is set to use the "Java Web Start". I went into the windows slave node, and can start the jenkins using the java. I have installed the jenkins as a service on the slave node. 

The problem is, if i exit out from the small window that shows the connection  status as "connected". The node is seen to be offline from the master. But the service stays started on the node. 

Is there a way to keep the node online as long as the jenkins slave service is started? I dont want to login to the node and start launch the java to start the jenkins slave.  

Wei-min Lee

unread,
Apr 20, 2016, 12:03:05 AM4/20/16
to Jenkins Users
If you installed the windows slave as a service you should not need to manually launch the jnlp client.  When you log off/on the server, can you see that the jenkins slave service is actually started via the services.msc?  Also, from task manager you should see jenkins-slave.exe as well as a java.exe running without having launched the jnlp client.  The jenkins-slave.exe is the windows service process, but it launches java.exe with your jnlp connection information.  It's the java.exe process that communicates with your jenkins server.
Reply all
Reply to author
Forward
0 new messages