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

Enable REST API for jobConfigHistory for the computer action

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Similar Issues:

      Description

      It's currently not possible to retrieve computer configuration history using the REST API. The current alternative is to write groovy script and use the Jenkins CLI client.

      This can be done exporting the getSlaveConfigs() method in ComputerConfigHistoryProjectAction as a bean. Then add a public getApi() method to the class that returns a new instance of hudson.model.Api of itself.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cfs Charles Stephens
                Reporter:
                cfs Charles Stephens
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: