public class ParasoftPublisher
extends hudson.plugins.analysis.core.HealthAwarePublisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
ParasoftPublisher(String healthy,
String unHealthy,
String thresholdLimit,
String defaultEncoding,
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 shouldDetectModules,
boolean canComputeNew,
String reportFilesPattern,
String settingsPath,
boolean reportCheckField)
Creates a new instance of
ParasoftPublisher . |
Modifier and Type | Method and Description |
---|---|
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
ParasoftDescriptor |
getDescriptor() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
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.
|
String |
getSettingsPath() |
hudson.plugins.analysis.core.BuildResult |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.plugins.analysis.util.PluginLogger logger) |
perform, perform, updateBuildResult
canComputeNew, canContinue, canResolveRelativePaths, copyFilesWithAnnotationsToBuildFolder, expandFilePattern, getCanComputeNew, getCanResolveRelativePaths, getCanRunOnFailed, getDefaultEncoding, getFailedNewAll, getFailedNewHigh, getFailedNewLow, getFailedNewNormal, getFailedTotalAll, getFailedTotalHigh, getFailedTotalLow, getFailedTotalNormal, getHealthy, getMinimumPriority, getRequiredMonitorService, getShouldDetectModules, getThresholdLimit, getThresholds, getUnHealthy, getUnstableNewAll, getUnstableNewHigh, getUnstableNewLow, getUnstableNewNormal, getUnstableTotalAll, getUnstableTotalHigh, getUnstableTotalLow, getUnstableTotalNormal, getUseDeltaValues, getUsePreviousBuildAsReference, getUseStableBuildAsReference, isAntBuild, isMavenBuild, isMavenBuild, isThresholdEnabled, perform, readResolve, setCanComputeNew, setCanResolveRelativePaths, setCanRunOnFailed, setDefaultEncoding, setFailedNewAll, setFailedNewHigh, setFailedNewLow, setFailedNewNormal, setFailedTotalAll, setFailedTotalHigh, setFailedTotalLow, setFailedTotalNormal, setHealthy, setShouldDetectModules, setThresholdLimit, setUnHealthy, setUnstableNewAll, setUnstableNewHigh, setUnstableNewLow, setUnstableNewNormal, setUnstableTotalAll, setUnstableTotalHigh, setUnstableTotalLow, setUnstableTotalNormal, setUseDeltaValues, setUsePreviousBuildAsReference, setUseStableBuildAsReference, shouldDetectModules, useOnlyStableBuildsAsReference, usePreviousBuildAsReference
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectActions, perform, perform, prebuild
@DataBoundConstructor public ParasoftPublisher(String healthy, String unHealthy, String thresholdLimit, String defaultEncoding, 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 shouldDetectModules, boolean canComputeNew, String reportFilesPattern, String settingsPath, boolean reportCheckField)
ParasoftPublisher
.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 healthdefaultEncoding
- the default encoding to be used when reading and parsing filesuseDeltaValues
- 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 notshouldDetectModules
- determines whether module names should be derived from Maven
POM or Ant build filescanComputeNew
- determines whether new warnings should be computed (with respect to
baseline)reportFilesPattern
- Ant file-set pattern to scan for Parasoft filessettingsPath
- relative path to the settings filereportCheckField
- public String getSettingsPath()
public String getReportFilesPattern()
public boolean getReportCheckField()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction
in interface hudson.tasks.BuildStep
getProjectAction
in class hudson.tasks.BuildStepCompatibilityLayer
public hudson.plugins.analysis.core.BuildResult perform(hudson.model.AbstractBuild<?,?> build, hudson.plugins.analysis.util.PluginLogger logger) throws InterruptedException, IOException
perform
in class hudson.plugins.analysis.core.HealthAwarePublisher
InterruptedException
IOException
public ParasoftDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.plugins.analysis.core.HealthAwareRecorder
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
MatrixAggregatable.createAggregator(hudson.matrix.MatrixBuild, hudson.Launcher, hudson.model.BuildListener)
Copyright © 2016. All rights reserved.