public class DockerBuilderPublisher extends hudson.tasks.Builder implements Serializable, jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerBuilderPublisher.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Modifier and Type | Field and Description |
|---|---|
boolean |
cleanImages |
boolean |
cleanupWithJenkinsJobDelete |
String |
cloud |
String |
dockerFileDirectory |
boolean |
pushOnSuccess |
String |
tag
Deprecated.
use
tags |
| Constructor and Description |
|---|
DockerBuilderPublisher(String dockerFileDirectory,
org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint fromRegistry,
String cloud,
String tagsString,
boolean pushOnSuccess,
org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint registry,
boolean cleanImages,
boolean cleanupWithJenkinsJobDelete) |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
filterStringToList(String str) |
protected DockerCloud |
getCloud(hudson.Launcher launcher) |
DockerBuilderPublisher.DescriptorImpl |
getDescriptor() |
org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint |
getFromRegistry() |
org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint |
getRegistry() |
List<String> |
getTags() |
String |
getTagsString() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setTags(List<String> tags) |
void |
setTagsString(String tagsString) |
static void |
verifyTags(String tagsString) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildpublic final String dockerFileDirectory
@Deprecated public String tag
tagspublic final boolean pushOnSuccess
public final boolean cleanImages
public final boolean cleanupWithJenkinsJobDelete
public final String cloud
@DataBoundConstructor public DockerBuilderPublisher(String dockerFileDirectory, org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint fromRegistry, String cloud, String tagsString, boolean pushOnSuccess, org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint registry, boolean cleanImages, boolean cleanupWithJenkinsJobDelete)
public org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint getRegistry()
public String getTagsString()
public void setTagsString(String tagsString)
public org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint getFromRegistry()
public static void verifyTags(String tagsString)
protected DockerCloud getCloud(hudson.Launcher launcher)
public void perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws InterruptedException,
IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic DockerBuilderPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016–2017. All rights reserved.