user3164236
user3164236

Reputation: 191

Jenkins build agent appears offline but agent service is up and Running

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

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

Upvotes: 18

Views: 65663

Answers (3)

AAAA
AAAA

Reputation: 25

If you don't have the rights, to open the "Manage Jenkins" settings page, an alternative way to reload an node is:

Dashboard -> "Build Executor Status" -> choose offline agent -> status -> check the buttons on top right

Upvotes: 0

Joshua
Joshua

Reputation: 689

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.

Upvotes: 1

Not a bug
Not a bug

Reputation: 4314

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.

Upvotes: 5

Related Questions