Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
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
- is related to
-
JENKINS-22895 Enable REST API for jobConfigHistory for the computer action
-
- Resolved
-
Code changed in jenkins
User: Charles Stephens
Path:
src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistoryProjectAction.java
src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistoryRootAction.java
http://jenkins-ci.org/commit/jobConfigHistory-plugin/a18dfd1b3df22d26db6045676292ea2aa8513710
Log:
[FIXED JENKINS-22796] Added REST API support for root and job actions.