Package com.veracode.jenkins.plugin
Class DynamicAnalysisStartPipelineRecorder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- com.veracode.jenkins.plugin.DynamicAnalysisStartPipelineRecorder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
public class DynamicAnalysisStartPipelineRecorder extends Recorder implements SimpleBuildStep
The DynamicAnalysisStartPipelineRecorder class handles processing for "veracodeDynamicAnalysisResubmit" Pipeline script. The UI interface of Snippet Generator for "veracodeDynamicAnalysisResubmit: Resubmit Veracode Dynamic Analysis" is defined in associated config.jelly.This class extends the
Recorder
class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DynamicAnalysisStartPipelineRecorder.DynamicAnalysisStartPipelineDescriptor
-
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
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
Fields Modifier and Type Field Description String
analysisName
boolean
debug
boolean
failBuildAsScanFailed
int
maximumDuration
String
pHost
String
pPassword
String
pPort
String
pUser
boolean
useProxy
String
vid
String
vkey
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description DynamicAnalysisStartPipelineRecorder(String analysisName, int maximumDuration, boolean failBuildAsScanFailed, String vid, String vkey, boolean debug, boolean useProxy, String pHost, String pPort, String pUser, String pPassword)
Constructor for DynamicAnalysisStartPipelineRecorder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicAnalysisStartPipelineRecorder.DynamicAnalysisStartPipelineDescriptor
getDescriptor()
Returns theDynamicAnalysisStartPipelineRecorder.DynamicAnalysisStartPipelineDescriptor
object associated with this instance.BuildStepMonitor
getRequiredMonitorService()
Returns an object that represents the scope of the synchronization monitor expected by the plugin.void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
Called by Jenkins after a build for a job specified to use the plugin is performed.-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, 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
getProjectAction, getProjectActions, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Field Detail
-
analysisName
@DataBoundSetter public final String analysisName
-
maximumDuration
@DataBoundSetter public final int maximumDuration
-
failBuildAsScanFailed
@DataBoundSetter public final boolean failBuildAsScanFailed
-
vid
@DataBoundSetter public final String vid
-
vkey
@DataBoundSetter public final String vkey
-
debug
@DataBoundSetter public final boolean debug
-
useProxy
@DataBoundSetter public final boolean useProxy
-
pHost
@DataBoundSetter public final String pHost
-
pPort
@DataBoundSetter public final String pPort
-
pUser
@DataBoundSetter public final String pUser
-
pPassword
@DataBoundSetter public final String pPassword
-
-
Constructor Detail
-
DynamicAnalysisStartPipelineRecorder
@DataBoundConstructor public DynamicAnalysisStartPipelineRecorder(String analysisName, int maximumDuration, boolean failBuildAsScanFailed, String vid, String vkey, boolean debug, boolean useProxy, String pHost, String pPort, String pUser, String pPassword)
Constructor for DynamicAnalysisStartPipelineRecorder.
-
-
Method Detail
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
Returns an object that represents the scope of the synchronization monitor expected by the plugin.- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
Called by Jenkins after a build for a job specified to use the plugin is performed.- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getDescriptor
public DynamicAnalysisStartPipelineRecorder.DynamicAnalysisStartPipelineDescriptor getDescriptor()
Returns theDynamicAnalysisStartPipelineRecorder.DynamicAnalysisStartPipelineDescriptor
object associated with this instance.- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
-