Class SecOneScannerPlugin
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
io.jenkins.plugins.secone.security.SecOneScannerPlugin
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
-
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 inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetApiKey
(Run<?, ?> run, TaskListener listener) boolean
boolean
perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) void
boolean
void
setActionOnThresholdBreached
(String actionOnThresholdBreached) void
setApiCredentialsId
(String apiCredentialsId) void
setApplyThreshold
(boolean applyThreshold) void
setScanFileLocation
(String scanFileLocation) void
setThreshold
(Threshold threshold) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, 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, getRequiredMonitorService, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform
-
Constructor Details
-
SecOneScannerPlugin
-
-
Method Details
-
getApiCredentialsId
-
setApiCredentialsId
-
isApplyThreshold
public boolean isApplyThreshold() -
setApplyThreshold
@DataBoundSetter public void setApplyThreshold(boolean applyThreshold) -
getThreshold
-
setThreshold
-
getActionOnThresholdBreached
-
setActionOnThresholdBreached
-
getScanFileLocation
-
setScanFileLocation
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws AbortException- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
AbortException
-
perform
public void perform(Run<?, ?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getApiKey
-
requiresWorkspace
public boolean requiresWorkspace()- Specified by:
requiresWorkspace
in interfaceSimpleBuildStep
-
getGitUrl
- Throws:
IOException
-
getGitFolderConfigPath
-