|
||||||||
|
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 added the following in AggregatedWarningsProjectAction.java
@Exported
public List<WarningsResultAction> getWarningsResultAction() { List<WarningsResultAction> projectActions; // projectActions = this.getProject().getActions(WarningsResultAction.class); // can't use project, its actions list is allways empty // try getting the actions of the last build projectActions = this.getLastFinishedBuild().getActions(WarningsResultAction.class); return projectActions; }
Inside WarningsResultAction.java i then added the exported and visibility fields
@Exported(visibility = 2)
@Override
public String getUrlName() { return WarningsDescriptor.getResultUrl(parserName); }
/**
*
*/
@Exported(visibility = 2)
public String getParser() { return parserName; }
@Exported(visibility = 2)
@Override
public String getDisplayName() { return ParserRegistry.getParser(parserName).getLinkName().toString(); }
the ../warnings/api/xml REST api then gives me: