Package com.fortify.plugin.jenkins.steps
Class FortifyScan
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- com.fortify.plugin.jenkins.steps.FortifyStep
-
- com.fortify.plugin.jenkins.steps.FortifySCAStep
-
- com.fortify.plugin.jenkins.steps.FortifyScan
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,BuildStep
,SimpleBuildStep
public class FortifyScan extends FortifySCAStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FortifyScan.DescriptorImpl
-
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 inherited from class com.fortify.plugin.jenkins.steps.FortifySCAStep
addJVMOptions, buildID, debug, logFile, maxHeap, verbose
-
Fields inherited from class com.fortify.plugin.jenkins.steps.FortifyStep
lastBuild, VERSION
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description FortifyScan(String buildID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddOptions()
String
getCustomRulepacks()
String
getResolvedAddOptions(TaskListener listener)
String
getResolvedCustomRulepacks(TaskListener listener)
String
getResolvedResultsFile(TaskListener listener)
String
getResultsFile()
void
perform(Run<?,?> build, FilePath workspace, EnvVars vars, Launcher launcher, TaskListener listener)
void
setAddOptions(String addOptions)
void
setCustomRulepacks(String customRulepacks)
void
setResultsFile(String resultsFile)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Methods inherited from class com.fortify.plugin.jenkins.steps.FortifySCAStep
getAddJVMOptions, getBuildID, getDebug, getDevenvExecutable, getGradleExecutable, getLogFile, getMavenExecutable, getMaxHeap, getMSBuildExecutable, getResolvedAddJVMOptions, getResolvedBuildID, getResolvedLogFile, getResolvedMaxHeap, getSourceAnalyzerExecutable, getVerbose, setAddJVMOptions, setDebug, setLogFile, setMaxHeap, setVerbose
-
Methods inherited from class com.fortify.plugin.jenkins.steps.FortifyStep
addAllArguments, addAllArguments, addAllArgumentsWithNoMasks, getExecutable, getProjectAction, getProjectActions, perform, prebuild, resolve, setLastBuild
-
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
getRequiredMonitorService
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Constructor Detail
-
FortifyScan
@DataBoundConstructor public FortifyScan(String buildID)
-
-
Method Detail
-
getResolvedResultsFile
public String getResolvedResultsFile(TaskListener listener)
-
getResolvedCustomRulepacks
public String getResolvedCustomRulepacks(TaskListener listener)
-
getResolvedAddOptions
public String getResolvedAddOptions(TaskListener listener)
-
getResultsFile
public String getResultsFile()
-
setResultsFile
@DataBoundSetter public void setResultsFile(String resultsFile)
-
getCustomRulepacks
public String getCustomRulepacks()
-
setCustomRulepacks
@DataBoundSetter public void setCustomRulepacks(String customRulepacks)
-
getAddOptions
public String getAddOptions()
-
setAddOptions
@DataBoundSetter public void setAddOptions(String addOptions)
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
- Overrides:
start
in classFortifyStep
- Throws:
Exception
-
perform
public void perform(Run<?,?> build, FilePath workspace, EnvVars vars, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
-