public class CcmReporter extends hudson.plugins.analysis.core.HealthAwareReporter<CcmResult>
| Constructor and Description |
|---|
CcmReporter(String healthy,
String unHealthy,
String thresholdLimit,
boolean useDeltaValues,
String unstableTotalAll,
String unstableTotalHigh,
String unstableTotalNormal,
String unstableTotalLow,
String unstableNewAll,
String unstableNewHigh,
String unstableNewNormal,
String unstableNewLow,
String failedTotalAll,
String failedTotalHigh,
String failedTotalNormal,
String failedTotalLow,
String failedNewAll,
String failedNewHigh,
String failedNewNormal,
String failedNewLow,
boolean canRunOnFailed,
boolean canComputeNew)
Creates a new instance of
CcmReporter. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptGoal(String goal) |
protected hudson.maven.MavenAggregatedReport |
createMavenAggregatedReport(hudson.maven.MavenBuild build,
CcmResult result) |
protected CcmResult |
createResult(hudson.maven.MavenBuild build,
hudson.plugins.analysis.core.ParserResult project) |
List<CcmProjectAction> |
getProjectActions(hudson.maven.MavenModule module) |
protected Class<CcmMavenResultAction> |
getResultActionClass() |
hudson.plugins.analysis.core.ParserResult |
perform(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.plugins.analysis.util.PluginLogger logger) |
canComputeNew, canContinue, end, getCanComputeNew, getCanRunOnFailed, getDefaultEncoding, getDescriptor, getHealthy, getMinimumPriority, getModuleName, getTargetPath, getThresholdLimit, getThresholds, getUnHealthy, getUseDeltaValues, getUsePreviousBuildAsReference, getUsePreviousBuildAsStable, getUseStableBuildAsReference, postExecute, useOnlyStableBuildsAsReference, usePreviousBuildAsReference, usePreviousBuildAsStable@DataBoundConstructor public CcmReporter(String healthy, String unHealthy, String thresholdLimit, boolean useDeltaValues, String unstableTotalAll, String unstableTotalHigh, String unstableTotalNormal, String unstableTotalLow, String unstableNewAll, String unstableNewHigh, String unstableNewNormal, String unstableNewLow, String failedTotalAll, String failedTotalHigh, String failedTotalNormal, String failedTotalLow, String failedNewAll, String failedNewHigh, String failedNewNormal, String failedNewLow, boolean canRunOnFailed, boolean canComputeNew)
CcmReporter.healthy - Report health as 100% when the number of warnings is less than
this valueunHealthy - Report health as 0% when the number of warnings is greater
than this valuethresholdLimit - determines which warning priorities should be considered when
evaluating the build stability and healthuseDeltaValues - determines whether the absolute annotations delta or the
actual annotations set difference should be used to evaluate
the build stabilityunstableTotalAll - annotation thresholdunstableTotalHigh - annotation thresholdunstableTotalNormal - annotation thresholdunstableTotalLow - annotation thresholdunstableNewAll - annotation thresholdunstableNewHigh - annotation thresholdunstableNewNormal - annotation thresholdunstableNewLow - annotation thresholdfailedTotalAll - annotation thresholdfailedTotalHigh - annotation thresholdfailedTotalNormal - annotation thresholdfailedTotalLow - annotation thresholdfailedNewAll - annotation thresholdfailedNewHigh - annotation thresholdfailedNewNormal - annotation thresholdfailedNewLow - annotation thresholdcanRunOnFailed - determines whether the plug-in can run for failed builds, tooprotected boolean acceptGoal(String goal)
acceptGoal in class hudson.plugins.analysis.core.HealthAwareReporter<CcmResult>public hudson.plugins.analysis.core.ParserResult perform(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.plugins.analysis.util.PluginLogger logger)
throws InterruptedException,
IOException
perform in class hudson.plugins.analysis.core.HealthAwareReporter<CcmResult>InterruptedExceptionIOExceptionprotected CcmResult createResult(hudson.maven.MavenBuild build, hudson.plugins.analysis.core.ParserResult project)
createResult in class hudson.plugins.analysis.core.HealthAwareReporter<CcmResult>protected hudson.maven.MavenAggregatedReport createMavenAggregatedReport(hudson.maven.MavenBuild build,
CcmResult result)
createMavenAggregatedReport in class hudson.plugins.analysis.core.HealthAwareReporter<CcmResult>public List<CcmProjectAction> getProjectActions(hudson.maven.MavenModule module)
getProjectActions in interface hudson.maven.MavenProjectActionBuildergetProjectActions in class hudson.maven.MavenReporterprotected Class<CcmMavenResultAction> getResultActionClass()
getResultActionClass in class hudson.plugins.analysis.core.HealthAwareReporter<CcmResult>Copyright © 2010-2018 Jenkins. All Rights Reserved.