public class AquaServerlessScannerBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
When a build is performed, the perform(hudson.model.Run<?, ?>, hudson.FilePath, hudson.Launcher, hudson.model.TaskListener)
method will be invoked.
Modifier and Type | Class and Description |
---|---|
static class |
AquaServerlessScannerBuilder.DescriptorImpl
Descriptor for
AquaServerlessScannerBuilder . |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
static int |
DISALLOWED_CODE |
static int |
OK_CODE |
Constructor and Description |
---|
AquaServerlessScannerBuilder(String onDisallowed,
String notCompliesCmd,
String codeScanPath,
String customFlags) |
Modifier and Type | Method and Description |
---|---|
String |
getCodeScanPath() |
String |
getCustomFlags() |
AquaServerlessScannerBuilder.DescriptorImpl |
getDescriptor() |
String |
getNotCompliesCmd() |
String |
getOnDisallowed()
Public access required by config.jelly to display current values in
configuration screen.
|
String |
isOnDisallowed(String state) |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
static void |
setBuildId(int buildId) |
static void |
setCount(int count) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
public static final int OK_CODE
public static final int DISALLOWED_CODE
public static void setCount(int count)
public static void setBuildId(int buildId)
public String getOnDisallowed()
public String getNotCompliesCmd()
public String getCodeScanPath()
public String getCustomFlags()
public void perform(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws hudson.AbortException, InterruptedException
perform
in interface jenkins.tasks.SimpleBuildStep
hudson.AbortException
InterruptedException
public AquaServerlessScannerBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016–2019. All rights reserved.