Skip to content
Permalink
Browse files

[FIXED JENKINS-21769] Don't load classes of optional plug-ins.

  • Loading branch information
uhafner committed Mar 11, 2014
1 parent 42b4bde commit 1bb54874708360ec1b5edfb09e69a16e55e6a576
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/main/java/hudson/plugins/analysis/collector/AnalysisProjectAction.java
@@ -5,7 +5,6 @@
import org.kohsuke.stapler.StaplerRequest;

import hudson.model.AbstractProject;

import hudson.plugins.analysis.core.AbstractProjectAction;
import hudson.plugins.analysis.graph.BuildResultGraph;
import hudson.plugins.analysis.graph.GraphConfigurationView;
@@ -45,7 +44,13 @@ public AnalysisProjectAction(final AbstractProject<?, ?> project, final Class<?
}

private void createAggregator() {
warningsAggregator = new WarningsAggregator(true, true, true, true, true, true);
warningsAggregator = new WarningsAggregator(
AnalysisDescriptor.isCheckStyleInstalled(),
AnalysisDescriptor.isDryInstalled(),
AnalysisDescriptor.isFindBugsInstalled(),
AnalysisDescriptor.isPmdInstalled(),
AnalysisDescriptor.isOpenTasksInstalled(),
AnalysisDescriptor.isWarningsInstalled());
warningsAggregator.hideJobPrefix();
}

0 comments on commit 1bb5487

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