Class DockerPullImageBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkinsci.plugins.registry.notification.DockerPullImageBuilder
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
Pull and Run specified Docker image
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
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
ConstructorDescriptionDockerPullImageBuilder
(org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint registry, String image) -
Method Summary
Modifier and TypeMethodDescriptiongetImage()
org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint
boolean
perform
(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
DockerPullImageBuilder
@DataBoundConstructor public DockerPullImageBuilder(org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint registry, String image)
-
-
Method Details
-
getImage
-
getRegistry
public org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint getRegistry() -
perform
public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException - Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
IOException
InterruptedException
-