17
votes

I am having trouble that Jenkins home page shows the Build slave is offline. But when I actually log in to build slave server, the slave service is up and running.

I am using Windows 2003 OS for all my Build slaves and Master server. The only way to get it online is to restart the service again.

2
After restarting the master node our problem gone away. - mehmet6parmak

2 Answers

4
votes

Follow the given steps, you will not required to restart the services.

Goto Jenkins -> Manage Jenkins -> Manage Nodes

This will show you the list configured nodes. In which

Build Slave -> Launch Slave Agent (Where "Build Slave" is your slave node.)

This will work if your slave is configured properly and connected with the services.

1
votes

Jenkins master need communicate with Slave with ssh connection if master and slave are not in the same node. Double check if master's ssh public key is in slave's ~/.ssh/authorized_keys.