|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

I made all project actions of analysis-core ready for remote API. So you just need to add your code to https://github.com/jenkinsci/warnings-plugin/blob/master/src/main/java/hudson/plugins/warnings/AggregatedWarningsProjectAction.java.
You can add elements using the @Exported annotation. The current result just returns the display name of the action (http://localhost:8080/job/[job-name]/warnings/api/xml):
<aggregatedWarningsProjectAction> <displayName>Compiler Warnings</displayName> <lastFinishedBuild> <number>57</number> <url>http://localhost:8080/job/Freestyle/57/</url> </lastFinishedBuild> </aggregatedWarningsProjectAction>