public class ParasoftReporter extends hudson.plugins.analysis.core.HealthAwareReporter<ParasoftResult>
Constructor and Description |
---|
ParasoftReporter(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 useStableBuildAsReference,
boolean canComputeNew,
String reportFilesPattern,
String settingsPath,
boolean reportCheckField)
Creates a new instance of
ParasoftReporter . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptGoal(String goal) |
protected hudson.maven.MavenAggregatedReport |
createMavenAggregatedReport(hudson.maven.MavenBuild build,
ParasoftResult result) |
protected ParasoftResult |
createResult(hudson.maven.MavenBuild build,
hudson.plugins.analysis.core.ParserResult project) |
List<ParasoftProjectAction> |
getProjectActions(hudson.maven.MavenModule module) |
boolean |
getReportCheckField()
Returns whether custom patterns for report files are enabled.
|
String |
getReportFilesPattern()
Returns the Ant file-set pattern of files containing xml reports to work with.
|
protected Class<ParasoftMavenResultAction> |
getResultActionClass() |
String |
getSettingsPath() |
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 ParasoftReporter(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 useStableBuildAsReference, boolean canComputeNew, String reportFilesPattern, String settingsPath, boolean reportCheckField)
ParasoftReporter
.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, toouseStableBuildAsReference
- determines whether only stable builds should be used as
reference builds or notcanComputeNew
- determines whether new warnings should be computed (with respect to
baseline)reportFilesPattern
- Ant file-set pattern to scan for Parasoft filessettingsPath
- relative path to settings filereportCheckField
- public String getSettingsPath()
public String getReportFilesPattern()
public boolean getReportCheckField()
protected boolean acceptGoal(String goal)
acceptGoal
in class hudson.plugins.analysis.core.HealthAwareReporter<ParasoftResult>
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<ParasoftResult>
InterruptedException
IOException
protected ParasoftResult createResult(hudson.maven.MavenBuild build, hudson.plugins.analysis.core.ParserResult project)
createResult
in class hudson.plugins.analysis.core.HealthAwareReporter<ParasoftResult>
protected hudson.maven.MavenAggregatedReport createMavenAggregatedReport(hudson.maven.MavenBuild build, ParasoftResult result)
createMavenAggregatedReport
in class hudson.plugins.analysis.core.HealthAwareReporter<ParasoftResult>
public List<ParasoftProjectAction> getProjectActions(hudson.maven.MavenModule module)
getProjectActions
in interface hudson.maven.MavenProjectActionBuilder
getProjectActions
in class hudson.maven.MavenReporter
protected Class<ParasoftMavenResultAction> getResultActionClass()
getResultActionClass
in class hudson.plugins.analysis.core.HealthAwareReporter<ParasoftResult>
Copyright © 2016–2017. All rights reserved.