public class ClangScanBuildPublisher
extends hudson.tasks.Recorder
hudson.tasks.Publisher.DescriptorExtensionListImpl| Modifier and Type | Field and Description |
|---|---|
static ClangScanBuildPublisherDescriptor |
DESCRIPTOR |
| Constructor and Description |
|---|
ClangScanBuildPublisher(boolean markBuildUnstableWhenThresholdIsExceeded,
int bugThreshold) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBugThreshold() |
ClangScanBuildPublisherDescriptor |
getDescriptor() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
isMarkBuildUnstableWhenThresholdIsExceeded() |
protected List<hudson.FilePath> |
locateClangBugReports(hudson.FilePath clangOutputFolder)
This locates all the generated HTML bug reports from scan-build and returns them as a list.
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setBugThreshold(int bugThreshold) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectActions, perform, prebuild@Extension public static final ClangScanBuildPublisherDescriptor DESCRIPTOR
public ClangScanBuildPublisher(boolean markBuildUnstableWhenThresholdIsExceeded,
int bugThreshold)
public int getBugThreshold()
public boolean isMarkBuildUnstableWhenThresholdIsExceeded()
public void setBugThreshold(int bugThreshold)
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic ClangScanBuildPublisherDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionprotected List<hudson.FilePath> locateClangBugReports(hudson.FilePath clangOutputFolder) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2004-2013. All Rights Reserved.