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

Enable REST API for jobConfigHistory on job and root actions

    Details

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

      Description

      It's currently not possible to retrieve job 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 getConfigs(), and getJobConfigs() methods in JobConfigHistoryProjectAction, and JobConfigHistoryRootAction as beans. Then add a public getApi() method in each class to return a new instance of hudson.model.Api of itself.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: