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