hudson.model.Hudson.instance.slaves.each { slave ->
out.print("Slave $slave.nodeName : Labels: $slave.labelString")
slave.setLabelString(slave.labelString + " " + "operational")
out.println(" --> New labels: $slave.labelString")
}
Now how do I persist this change to disk?
--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/epL30VXvXC4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
+1 having both tried the javadoc and ide path in the past, I recommend by far the ide.
Discovering code and possibilities through javadoc solely proves terribly cumbersome.
Cheers