jenkins.plugins.clangscanbuild.publisher
Class ClangScanBuildPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
jenkins.plugins.clangscanbuild.publisher.ClangScanBuildPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class ClangScanBuildPublisher
- extends hudson.tasks.Recorder
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
getProjectActions, prebuild |
DESCRIPTOR
@Extension
public static final ClangScanBuildPublisherDescriptor DESCRIPTOR
ClangScanBuildPublisher
public ClangScanBuildPublisher(boolean markBuildUnstableWhenThresholdIsExceeded,
int bugThreshold)
getBugThreshold
public int getBugThreshold()
isMarkBuildUnstableWhenThresholdIsExceeded
public boolean isMarkBuildUnstableWhenThresholdIsExceeded()
setBugThreshold
public void setBugThreshold(int bugThreshold)
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
- Specified by:
getProjectAction in interface hudson.tasks.BuildStep- Overrides:
getProjectAction in class hudson.tasks.BuildStepCompatibilityLayer
getDescriptor
public ClangScanBuildPublisherDescriptor getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>- Overrides:
getDescriptor in class hudson.tasks.Recorder
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
locateClangBugReports
protected List<hudson.FilePath> locateClangBugReports(hudson.FilePath clangOutputFolder)
throws IOException,
InterruptedException
- This locates all the generated HTML bug reports from scan-build and returns them as a list.
- Throws:
IOException
InterruptedException
Copyright © 2004-2011. All Rights Reserved.