Skip to content
Permalink
Browse files

[FIXED JENKINS-27086] Use aggregated warnings in analysis collector.

Also refactored the acceptance tests for analysis collector in order to get the warnings plugin integrated. Note that this requires analysis-core 1.71.
  • Loading branch information
uhafner committed Mar 14, 2015
1 parent b37c863 commit ea1495360e1de42b570203e37809994c8d8632a8
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/hudson/plugins/analysis/collector/handler/WarningsHandler.java
@@ -12,9 +12,9 @@
import hudson.plugins.analysis.core.PluginDescriptor;
import hudson.plugins.analysis.core.ResultAction;
import hudson.plugins.warnings.AggregatedWarningsProjectAction;
import hudson.plugins.warnings.AggregatedWarningsResultAction;
import hudson.plugins.warnings.Messages;
import hudson.plugins.warnings.WarningsDescriptor;
import hudson.plugins.warnings.WarningsResultAction;

/**
* Handles access to the warnings plug-in.
@@ -44,6 +44,6 @@ public Localizable getDetailHeader() {

@Override
public Collection<? extends Class<? extends ResultAction<? extends BuildResult>>> getResultActions() {
return Lists.newArrayList(WarningsResultAction.class);
return Lists.newArrayList(AggregatedWarningsResultAction.class);
}
}

0 comments on commit ea14953

Please sign in to comment.
You can’t perform that action at this time.