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

Enable REST API for jobConfigHistory on job and root actions

    XMLWordPrintable

Details

    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

            cfs Charles Stephens created issue -
            scm_issue_link SCM/JIRA link daemon made changes -
            Field Original Value New Value
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            cfs Charles Stephens made changes -
            Link This issue is related to JENKINS-22895 [ JENKINS-22895 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 154911 ] JNJira + In-Review [ 195078 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: