Package com.veracode.jenkins.plugin
Class DynamicRescanPipelineRecorder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- com.veracode.jenkins.plugin.DynamicRescanPipelineRecorder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
public class DynamicRescanPipelineRecorder extends Recorder implements SimpleBuildStep
The DynamicRescanPipelineRecorder class handles processing for "veracodeDynamicRescan" Pipeline script. The UI interface of Snippet Generator for "veracodeDynamicRescan: Dynamic Rescan with Veracode Pipeline" is defined in associated config.jelly.This class extends the
Recorder
class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DynamicRescanPipelineRecorder.PipelineDynamicRescanDescriptorImpl
-
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
applicationName
boolean
canFailJob
boolean
debug
boolean
dvrEnabled
String
pHost
String
pPassword
int
pPort
String
pUser
boolean
useProxy
String
vid
String
vkey
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description DynamicRescanPipelineRecorder(String applicationName, boolean dvrEnabled, boolean canFailJob, boolean debug, boolean useProxy, String pHost, int pPort, String pUser, String pPassword, String vid, String vkey)
Constructor for DynamicRescanPipelineRecorder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicRescanPipelineRecorder.PipelineDynamicRescanDescriptorImpl
getDescriptor()
Returns theDynamicRescanPipelineRecorder.PipelineDynamicRescanDescriptorImpl
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
-
applicationName
@DataBoundSetter public final String applicationName
-
dvrEnabled
@DataBoundSetter public final boolean dvrEnabled
-
canFailJob
@DataBoundSetter public final boolean canFailJob
-
debug
@DataBoundSetter public final boolean debug
-
vid
@DataBoundSetter public final String vid
-
vkey
@DataBoundSetter public final String vkey
-
useProxy
@DataBoundSetter public final boolean useProxy
-
pHost
@DataBoundSetter public final String pHost
-
pPort
@DataBoundSetter public final int pPort
-
pUser
@DataBoundSetter public final String pUser
-
pPassword
@DataBoundSetter public final String pPassword
-
-
Constructor Detail
-
DynamicRescanPipelineRecorder
@DataBoundConstructor public DynamicRescanPipelineRecorder(String applicationName, boolean dvrEnabled, boolean canFailJob, boolean debug, boolean useProxy, String pHost, int pPort, String pUser, String pPassword, String vid, String vkey)
Constructor for DynamicRescanPipelineRecorder.
-
-
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 DynamicRescanPipelineRecorder.PipelineDynamicRescanDescriptorImpl getDescriptor()
Returns theDynamicRescanPipelineRecorder.PipelineDynamicRescanDescriptorImpl
object associated with this instance.- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
-