Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56186

Support for showing node labels via java API

    Details

    • Similar Issues:

      Description

      It is currently not possible to get the node labels, even though the information is returned via the API call https://<host>/computer/api/json?depth=2 in the assignedLabels elements.

      It would be nice to be able use the java api client to get the list of nodes including their labels

        Attachments

          Activity

          Hide
          calvin Jesper Terkelsen added a comment -
          Show
          calvin Jesper Terkelsen added a comment - I have opened a PR for this:  https://github.com/jenkinsci/java-client-api/pull/388
          Show
          khmarbaise Karl-Heinz Marbaise added a comment - Done with  https://github.com/jenkinsci/java-client-api/commit/752c3b99a6288001cc199ccbfb39ce5124c1ba82

            People

            • Assignee:
              calvin Jesper Terkelsen
              Reporter:
              calvin Jesper Terkelsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: