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

Enable REST API for jobConfigHistory for the computer action

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: