public class AquaDockerScannerBuilder extends Builder implements 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. |
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static int |
DISALLOWED_CODE |
static int |
OK_CODE |
BUILDERS, PUBLISHERS| 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 localToken,
String customFlags,
String tarFilePath,
String containerRuntime,
String scannerPath,
String runtimeDirectory) |
all, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildpublic static final int OK_CODE
public static final int DISALLOWED_CODE
@DataBoundConstructor public AquaDockerScannerBuilder(String locationType, String registry, boolean register, String localImage, String hostedImage, String onDisallowed, String notCompliesCmd, boolean hideBase, boolean showNegligible, String policies, String localToken, String customFlags, String tarFilePath, String containerRuntime, String scannerPath, String runtimeDirectory)
protected Object readResolve()
public String getLocationType()
@CheckForNull public String getContainerRuntime()
@CheckForNull public String getScannerPath()
public String getRegistry()
public boolean getRegister()
public String getLocalImage()
public String getHostedImage()
public String getOnDisallowed()
public String getNotCompliesCmd()
public String getPolicies()
@CheckForNull public String getLocalToken()
public String getLocalTokenForXml()
public String getCustomFlags()
public boolean getHideBase()
public boolean getShowNegligible()
public String getRuntimeDirectory()
@CheckForNull public String getTarFilePath()
@DataBoundSetter public void setContainerRuntime(@CheckForNull String containerRuntime)
@DataBoundSetter public void setScannerPath(@CheckForNull String scannerPath)
@DataBoundSetter public void setTarFilePath(@CheckForNull String tarFilePath)
@DataBoundSetter public void setLocalToken(@CheckForNull String localToken)
@DataBoundSetter public void setRuntimeDirectory(@CheckForNull String runtimeDirectory)
public void perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws AbortException, InterruptedException
perform in interface SimpleBuildStepAbortExceptionInterruptedExceptionpublic AquaDockerScannerBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Builder>getDescriptor in class BuilderCopyright © 2016–2025. All rights reserved.