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.
Visit a url like http:``//myslave:3141 to see whether a slave is running and how much memory it is using. Configure the port used by clicking Manage Jenkins on the dashboard.
A agent offline or connection issue may be caused by various network-layer issues, including a proxy setting defined on the agent (but not the Jenkins controller), or vice versa.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With