-
Improvement
-
Resolution: Fixed
-
Minor
-
None
I have an external script which is using the JSON API and has a need to see which labels are applied to nodes and which labels are required for jobs.
This issue and associated pull request export these members to the JSON and XML APIs.
- links to
Code changed in jenkins
User: benru
Path:
core/src/main/java/hudson/model/AbstractProject.java
core/src/main/java/hudson/model/Computer.java
core/src/main/java/hudson/model/Label.java
http://jenkins-ci.org/commit/jenkins/3a0a575ecf4f68ecb1e91a249c304d683e5c273c
Log:
JENKINS-25286: Export assigned labels for slaves and the label expression for jobs in JSON and XML APIsAdds @Export attribute to assignedLabels for Computer and AbstractProject
Also adjusts visibility on Label "name" parameter so it appears by default