Class DockerJobProperty
java.lang.Object
hudson.model.JobProperty<J>
jenkins.model.OptionalJobProperty<AbstractProject<?,?>>
com.nirima.jenkins.plugins.docker.DockerJobProperty
- All Implemented Interfaces:
ExtensionPoint
,Describable<JobProperty<?>>
,ReconfigurableDescribable<JobProperty<?>>
,BuildStep
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.model.OptionalJobProperty
OptionalJobProperty.OptionalJobPropertyDescriptor
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 class hudson.model.JobProperty
owner
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint
boolean
boolean
boolean
perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) void
setRegistry
(org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint registry) Methods inherited from class jenkins.model.OptionalJobProperty
getDescriptor
Methods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, prebuild, reconfigure, reconfigure, setOwner
-
Field Details
-
additionalTag
-
cleanImages
public final boolean cleanImages
-
-
Constructor Details
-
DockerJobProperty
-
-
Method Details
-
getAdditionalTag
-
isPushOnSuccess
@Exported public boolean isPushOnSuccess() -
isCleanImages
@Exported public boolean isCleanImages() -
getRegistry
public org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint getRegistry() -
setRegistry
@DataBoundSetter public void setRegistry(org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint registry) -
getDockerJobTemplate
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classJobProperty<AbstractProject<?,
?>> - Throws:
InterruptedException
IOException
-