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