Class DockerBuilderNewTemplate
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- com.nirima.jenkins.plugins.docker.builder.DockerBuilderNewTemplate
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
public class DockerBuilderNewTemplate extends Builder
Builder that adds template to all clouds.- Author:
- Jocelyn De La Rosa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DockerBuilderNewTemplate.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 DockerBuilderNewTemplate(DockerTemplate dockerTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DockerBuilderNewTemplate.DescriptorImpl
getDescriptor()
DockerTemplate
getDockerTemplate()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
void
setDockerTemplate(DockerTemplate dockerTemplate)
-
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Constructor Detail
-
DockerBuilderNewTemplate
@DataBoundConstructor public DockerBuilderNewTemplate(DockerTemplate dockerTemplate)
-
-
Method Detail
-
getDockerTemplate
public DockerTemplate getDockerTemplate()
-
setDockerTemplate
public void setDockerTemplate(DockerTemplate dockerTemplate)
-
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
-
getDescriptor
public DockerBuilderNewTemplate.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
-