public class AquaDockerScannerBuilder
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 |
AquaDockerScannerBuilder.DescriptorImpl
Descriptor for
AquaDockerScannerBuilder . |
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 |
---|
AquaDockerScannerBuilder(String locationType,
String registry,
boolean register,
String localImage,
String hostedImage,
String onDisallowed,
String notCompliesCmd,
boolean hideBase,
boolean showNegligible,
String policies,
String customFlags) |
Modifier and Type | Method and Description |
---|---|
String |
getCustomFlags() |
AquaDockerScannerBuilder.DescriptorImpl |
getDescriptor() |
boolean |
getHideBase() |
String |
getHostedImage() |
String |
getLocalImage() |
String |
getLocationType()
Public access required by config.jelly to display current values in
configuration screen.
|
String |
getNotCompliesCmd() |
String |
getOnDisallowed() |
String |
getPolicies() |
boolean |
getRegister() |
String |
getRegistry() |
boolean |
getShowNegligible() |
String |
getVersion() |
String |
isLocationType(String type) |
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 getLocationType()
public String getRegistry()
public boolean getRegister()
public String getLocalImage()
public String getHostedImage()
public String getOnDisallowed()
public String getVersion()
public String getNotCompliesCmd()
public String getPolicies()
public String getCustomFlags()
public boolean getHideBase()
public boolean getShowNegligible()
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 AquaDockerScannerBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016–2019. All rights reserved.