Package com.fortify.plugin.jenkins.steps
Class FortifySCAStep
- 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
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,BuildStep
,SimpleBuildStep
- Direct Known Subclasses:
FortifyClean
,FortifyScan
,FortifyTranslate
public abstract class FortifySCAStep extends FortifyStep
-
-
Nested Class Summary
-
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 protected String
addJVMOptions
protected String
buildID
protected boolean
debug
protected String
logFile
protected String
maxHeap
protected boolean
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 FortifySCAStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddJVMOptions()
String
getBuildID()
boolean
getDebug()
protected String
getDevenvExecutable(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars envVars)
protected String
getGradleExecutable(boolean useWrapper, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, String gradleInstallationName, Node currentNode, EnvVars envVars)
String
getLogFile()
protected String
getMavenExecutable(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, String mavenInstallationName, Node currentNode, EnvVars envVars)
String
getMaxHeap()
protected String
getMSBuildExecutable(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars envVars)
String
getResolvedAddJVMOptions(TaskListener listener)
String
getResolvedBuildID(TaskListener listener)
String
getResolvedLogFile(TaskListener listener)
Integer
getResolvedMaxHeap(TaskListener listener)
protected String
getSourceAnalyzerExecutable(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars vars)
boolean
getVerbose()
void
setAddJVMOptions(String addJVMOptions)
void
setDebug(boolean debug)
void
setLogFile(String logFile)
void
setMaxHeap(String maxHeap)
void
setVerbose(boolean verbose)
-
Methods inherited from class com.fortify.plugin.jenkins.steps.FortifyStep
addAllArguments, addAllArguments, addAllArgumentsWithNoMasks, getExecutable, getProjectAction, getProjectActions, perform, prebuild, resolve, setLastBuild, start
-
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, perform, requiresWorkspace
-
-
-
-
Method Detail
-
getBuildID
public String getBuildID()
-
getMaxHeap
public String getMaxHeap()
-
setMaxHeap
@DataBoundSetter public void setMaxHeap(String maxHeap)
-
getAddJVMOptions
public String getAddJVMOptions()
-
setAddJVMOptions
@DataBoundSetter public void setAddJVMOptions(String addJVMOptions)
-
getDebug
public boolean getDebug()
-
getVerbose
public boolean getVerbose()
-
getLogFile
public String getLogFile()
-
setDebug
@DataBoundSetter public void setDebug(boolean debug)
-
setVerbose
@DataBoundSetter public void setVerbose(boolean verbose)
-
setLogFile
@DataBoundSetter public void setLogFile(String logFile)
-
getSourceAnalyzerExecutable
protected String getSourceAnalyzerExecutable(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars vars) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
getMavenExecutable
protected String getMavenExecutable(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, String mavenInstallationName, Node currentNode, EnvVars envVars) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
getGradleExecutable
protected String getGradleExecutable(boolean useWrapper, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, String gradleInstallationName, Node currentNode, EnvVars envVars) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
getDevenvExecutable
protected String getDevenvExecutable(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars envVars) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
getMSBuildExecutable
protected String getMSBuildExecutable(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars envVars) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
getResolvedMaxHeap
public Integer getResolvedMaxHeap(TaskListener listener)
-
getResolvedBuildID
public String getResolvedBuildID(TaskListener listener)
-
getResolvedAddJVMOptions
public String getResolvedAddJVMOptions(TaskListener listener)
-
getResolvedLogFile
public String getResolvedLogFile(TaskListener listener)
-
-