Package com.rapid7.jenkinspider
Class PostBuildScan
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Notifier
-
- com.rapid7.jenkinspider.PostBuildScan
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
public class PostBuildScan extends Notifier
Created by nbugash on 20/07/15.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PostBuildScan.DescriptorImp
Descriptor forPostBuildScan
.-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClientName()
String
getConfigName()
PostBuildScan.DescriptorImp
getDescriptor()
Boolean
getEnableScan()
Boolean
getReport()
String
getReportName()
BuildStepMonitor
getRequiredMonitorService()
String
getScanConfigEngineGroupName()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Method Detail
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
-
getClientName
public String getClientName()
-
getConfigName
public String getConfigName()
-
getReportName
public String getReportName()
-
getEnableScan
public Boolean getEnableScan()
-
getReport
public Boolean getReport()
-
getScanConfigEngineGroupName
public String getScanConfigEngineGroupName()
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Returns:
- boolean representing success or failure of the action to perform
- Throws:
InterruptedException
- if stop is requested by the user
-
getDescriptor
public PostBuildScan.DescriptorImp getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classNotifier
-
-