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 ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApiKey(Run<?, ?> run, TaskListener listener) booleanbooleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) voidbooleanvoidsetActionOnThresholdBreached(String actionOnThresholdBreached) voidsetApiCredentialsId(String apiCredentialsId) voidsetApplyThreshold(boolean applyThreshold) voidsetScanFileLocation(String scanFileLocation) voidsetThreshold(Threshold threshold) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, prebuildMethods 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:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
AbortException
-
perform
public void perform(Run<?, ?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getApiKey
-
requiresWorkspace
public boolean requiresWorkspace()- Specified by:
requiresWorkspacein interfaceSimpleBuildStep
-
getGitUrl
- Throws:
IOException
-
getGitFolderConfigPath
-