public class DockerImageComboStep
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
DockerImageComboStep.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
DockerImageComboStep(YADockerConnector connector,
DockerBuildImage buildImage) |
Modifier and Type | Method and Description |
---|---|
DockerBuildImage |
getBuildImage() |
YADockerConnector |
getConnector() |
DockerImageComboStepResponse |
getResponse() |
boolean |
isClean() |
boolean |
isCleanupDangling() |
boolean |
isPush() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setClean(boolean clean) |
void |
setCleanupDangling(boolean cleanupDangling) |
void |
setPush(boolean push) |
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public DockerImageComboStep(@Nonnull YADockerConnector connector, @Nonnull DockerBuildImage buildImage)
@Nonnull public YADockerConnector getConnector()
public DockerBuildImage getBuildImage()
public boolean isClean()
@DataBoundSetter public void setClean(boolean clean)
public boolean isCleanupDangling()
@DataBoundSetter public void setCleanupDangling(boolean cleanupDangling)
public boolean isPush()
@DataBoundSetter public void setPush(boolean push)
@CheckForNull public DockerImageComboStepResponse getResponse()
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
Copyright © 2016–2020. All rights reserved.