Package com.fortify.plugin.jenkins.steps
Class CloudScanStart
- 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.FortifyCloudScanStep
-
- com.fortify.plugin.jenkins.steps.CloudScanStart
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,BuildStep
,SimpleBuildStep
public class CloudScanStart extends FortifyCloudScanStep implements SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CloudScanStart.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.FortifyCloudScanStep
scanOptions
-
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 CloudScanStart(RemoteAnalysisProjectType remoteAnalysisProjectType)
-
Method Summary
-
Methods inherited from class com.fortify.plugin.jenkins.steps.FortifyCloudScanStep
getCloudScanExecutable, getResolvedScanArgs, getScancentralExecutable, getScanOptions, setScanOptions
-
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
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Constructor Detail
-
CloudScanStart
@DataBoundConstructor public CloudScanStart(RemoteAnalysisProjectType remoteAnalysisProjectType)
-
-
Method Detail
-
getRemoteAnalysisProjectType
public RemoteAnalysisProjectType getRemoteAnalysisProjectType()
-
getRemoteOptionalConfig
public FortifyPlugin.RemoteOptionalConfigBlock getRemoteOptionalConfig()
-
setRemoteOptionalConfig
@DataBoundSetter public void setRemoteOptionalConfig(FortifyPlugin.RemoteOptionalConfigBlock remoteOptionalConfig)
-
getUploadSSC
public FortifyPlugin.UploadSSCBlock getUploadSSC()
-
setUploadSSC
@DataBoundSetter public void setUploadSSC(FortifyPlugin.UploadSSCBlock uploadSSC)
-
getBuildTool
public String getBuildTool()
-
getBuildFile
public String getBuildFile()
-
isIncludeTests
public boolean isIncludeTests()
-
isSkipBuild
public boolean isSkipBuild()
-
getSensorPoolName
public String getSensorPoolName()
-
getEmailAddr
public String getEmailAddr()
-
getRulepacks
public String getRulepacks()
-
getFilterFile
public String getFilterFile()
-
getApplicationName
public String getApplicationName()
-
getApplicationVersion
public String getApplicationVersion()
-
getPythonRequirementsFile
public String getPythonRequirementsFile()
-
getPythonVersion
public String getPythonVersion()
-
getPythonVirtualEnv
public String getPythonVirtualEnv()
-
getPhpVersion
public String getPhpVersion()
-
getBuildID
public String getBuildID()
-
setBuildID
public void setBuildID(String buildID)
-
getResolvedBuildTool
public String getResolvedBuildTool(TaskListener listener)
-
getResolvedBuildFile
public String getResolvedBuildFile(TaskListener listener)
-
getResolvedSensorPoolName
public String getResolvedSensorPoolName(TaskListener listener)
-
getResolvedEmailAddr
public String getResolvedEmailAddr(TaskListener listener)
-
getResolvedRulepacks
public String getResolvedRulepacks(TaskListener listener)
-
getResolvedFilterFile
public String getResolvedFilterFile(TaskListener listener)
-
getResolvedBuildID
public String getResolvedBuildID(TaskListener listener)
-
getResolvedApplicationName
public String getResolvedApplicationName(TaskListener listener)
-
getResolvedApplicationVersion
public String getResolvedApplicationVersion(TaskListener listener)
-
getResolvedPythonRequirementsFile
public String getResolvedPythonRequirementsFile(TaskListener listener)
-
getResolvedPythonVersion
public String getResolvedPythonVersion(TaskListener listener)
-
getResolvedPythonVirtualEnv
public String getResolvedPythonVirtualEnv(TaskListener listener)
-
getResolvedPhpVersion
public String getResolvedPhpVersion(TaskListener listener)
-
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<?,?> run, FilePath filePath, EnvVars vars, Launcher launcher, TaskListener taskListener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
-