public class LintPublisher
extends hudson.plugins.analysis.core.HealthAwarePublisher
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
LintPublisher(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 shouldDetectModules,
boolean canComputeNew,
String pattern)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
LintDescriptor |
getDescriptor() |
String |
getPattern()
Returns the Ant fileset pattern of files to work with.
|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.plugins.analysis.core.BuildResult |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.plugins.analysis.util.PluginLogger logger) |
perform, updateBuildResultcanComputeNew, canContinue, canResolveRelativePaths, copyFilesWithAnnotationsToBuildFolder, getCanComputeNew, getCanResolveRelativePaths, getCanRunOnFailed, getDefaultEncoding, getHealthy, getMinimumPriority, getRequiredMonitorService, getShouldDetectModules, getThresholdLimit, getThresholds, getUnHealthy, getUseDeltaValues, getUseStableBuildAsReference, isAntBuild, isMavenBuild, isThresholdEnabled, perform, readResolve, shouldDetectModules, useOnlyStableBuildsAsReferenceall, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectActions, perform, prebuild@DataBoundConstructor public LintPublisher(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 shouldDetectModules, boolean canComputeNew, String pattern)
healthy - Report health as 100% when the number of warnings is less than this value.unHealthy - Report health as 0% when the number of warnings is greater than this value.thresholdLimit - Determines which warning priorities should be considered when
evaluating the build stability and health.defaultEncoding - The default encoding to be used when reading files.useDeltaValues - Determines whether the absolute annotations delta or the actual
annotations set difference should be used to evaluate the build stability.unstableTotalAll - Annotation threshold.unstableTotalHigh - Annotation threshold.unstableTotalNormal - Annotation threshold.unstableTotalLow - Annotation threshold.unstableNewAll - Annotation threshold.unstableNewHigh - Annotation threshold.unstableNewNormal - Annotation threshold.unstableNewLow - Annotation threshold.failedTotalAll - Annotation threshold.failedTotalHigh - Annotation threshold.failedTotalNormal - Annotation threshold.failedTotalLow - Annotation threshold.failedNewAll - Annotation threshold.failedNewHigh - Annotation threshold.failedNewNormal - Annotation threshold.failedNewLow - Annotation threshold.canRunOnFailed - Determines whether the plugin can also run for failed builds.shouldDetectModules - Determines whether module names should be derived from Maven POM
or Ant build files.canComputeNew - determines whether new warnings should be computed (with
respect to baseline)pattern - Ant fileset pattern used to scan for Lint files.public String getPattern()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic 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.HealthAwarePublisherInterruptedExceptionIOExceptionpublic hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
public LintDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.plugins.analysis.core.HealthAwareRecorderCopyright © 2004-2013. All Rights Reserved.