Class DockerPostBuilder.DockerPostBuildStep
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
org.jenkinsci.plugins.dockerbuildstep.DockerPostBuilder.DockerPostBuildStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
- Enclosing class:
DockerPostBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorDescriptionDockerPostBuildStep
(String containerIds, boolean removeVolumes, boolean force) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isForce()
boolean
boolean
perform
(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Recorder
getDescriptor
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
DockerPostBuildStep
@DataBoundConstructor public DockerPostBuildStep(String containerIds, boolean removeVolumes, boolean force)
-
-
Method Details
-
getRequiredMonitorService
-
getContainerIds
-
isRemoveVolumes
public boolean isRemoveVolumes() -
isForce
public boolean isForce() -
perform
public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException - Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-