Class DockerBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- org.jenkinsci.plugins.dockerbuildstep.DockerBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
public class DockerBuilder extends Builder
Build step which executes various Docker commands via Docker REST API.- Author:
- vjuranek
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DockerBuilder.Config
static class
DockerBuilder.DescriptorImpl
-
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
Constructors Constructor Description DockerBuilder(DockerCommand dockerCmd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DockerBuilder.DescriptorImpl
getDescriptor()
DockerCommand
getDockerCmd()
boolean
perform(AbstractBuild build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Constructor Detail
-
DockerBuilder
@DataBoundConstructor public DockerBuilder(DockerCommand dockerCmd)
-
-
Method Detail
-
getDockerCmd
public DockerCommand getDockerCmd()
-
perform
public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws AbortException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
AbortException
-
getDescriptor
public DockerBuilder.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
-