Hi,

Can anybody recommend ways to ask Jenkins master for accurate details about 
it’s nodes. Mainly hostname/IP Address and display name.
Currently I am querying the Scriptler with

for (aSlave in hudson.model.Hudson.instance.slaves) {
  println('Name: ' + aSlave.name);
  println('Hostname: ' + aSlave.getComputer().getHostName());
}

But this method does not work for nodes that are started with the JNLP method. 
Is there any better way?

Thanks,
Antti

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/C2F5C7B7-0D84-4B78-9DD7-EDA19284015D%40here.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to