-
Improvement
-
Resolution: Fixed
-
Minor
-
None
in the jenkins scripting console, it is possible to do a .getLabelString() and .setLabelString() on the master node, but on a slave node, it is only possible to do .getLabelString(). It would be useful if there was a setter on a slave node as well
Code changed in jenkins
User: Andrew Bayer
Path:
changelog.html
core/src/main/java/hudson/model/Node.java
core/src/main/java/hudson/model/Slave.java
core/src/main/java/jenkins/model/Jenkins.java
core/src/test/java/hudson/slaves/NodeListTest.java
test/src/test/java/hudson/model/labels/LabelExpressionTest.java
http://jenkins-ci.org/commit/jenkins/aa603603e98a9e15556afd98a9951a27c2eaec8f
Log:
[FIXED JENKINS-14327] Added setter for labelString to Node.