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.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionDockerPostBuildStep(String containerIds, boolean removeVolumes, boolean force) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisForce()booleanbooleanperform(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Recorder
getDescriptorMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods 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:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-