krishnarajanr
krishnarajanr

Reputation: 696

How to find the IP/Host name of the slave added as a node to the Jenkins Master?

Is there any way to find the IP/hostname of the slave node? Situation here is,

  1. no access to the Jenkins master machine.
  2. no details to the Slave Machine available.
  3. We can just login to Jenkins Master dashboard and see the slaves.

I couldn't find any details for the slaves IP or Hostname.

Your steps to find or suggestions will be appreciated.

This is not same as the below case How to find the ip address of a jenkins node from the master

I cannot login to the Jenkins master machine either.

Upvotes: 0

Views: 9346

Answers (2)

NIK
NIK

Reputation: 1199

The way to get the slave machine Host name is as below,

Manage Jenkins -> Manage Nodes -> (Select the Slave Machine ) -> System Properties

Then Look for "Computer Name"

Upvotes: 0

krishnarajanr
krishnarajanr

Reputation: 696

I have found the easiest way to find the node/slave machines IP from Jenkins Master UI.

  • Goto Jenkins Master Dashboard page
  • Click Manage Jenkins
  • Click Manage Nodes
  • Click Any Slave Machine
  • Click Log

You can see the first line with the IP Address of it.

Upvotes: 2

Related Questions