public class DockerBuildWrapper
extends hudson.tasks.BuildWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerBuildWrapper.DescriptorImpl |
| Constructor and Description |
|---|
DockerBuildWrapper(DockerImageSelector selector,
String dockerInstallation,
org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint dockerHost,
String dockerRegistryCredentials,
boolean verbose,
boolean privileged,
List<Volume> volumes,
String group,
String command) |
| Modifier and Type | Method and Description |
|---|---|
hudson.Launcher |
decorateLauncher(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
String |
getCommand() |
org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint |
getDockerHost() |
String |
getDockerInstallation() |
String |
getDockerRegistryCredentials() |
String |
getGroup() |
DockerImageSelector |
getSelector() |
List<Volume> |
getVolumes() |
boolean |
isPrivileged() |
boolean |
isVerbose() |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@DataBoundConstructor public DockerBuildWrapper(DockerImageSelector selector, String dockerInstallation, org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint dockerHost, String dockerRegistryCredentials, boolean verbose, boolean privileged, List<Volume> volumes, String group, String command)
public DockerImageSelector getSelector()
public String getDockerInstallation()
public org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint getDockerHost()
public String getDockerRegistryCredentials()
public boolean isVerbose()
public boolean isPrivileged()
public String getGroup()
public String getCommand()
public hudson.Launcher decorateLauncher(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException,
hudson.model.Run.RunnerAbortedException
decorateLauncher in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionhudson.model.Run.RunnerAbortedExceptionpublic hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
setUp in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionCopyright © 2004-2015. All Rights Reserved.