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,
boolean forcePull,
String net,
String memory,
String cpu) |
Modifier and Type | Method and Description |
---|---|
hudson.Launcher |
decorateLauncher(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
String |
getCommand() |
String |
getCpu() |
org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint |
getDockerHost() |
String |
getDockerInstallation() |
String |
getDockerRegistryCredentials() |
String |
getGroup() |
String |
getMemory() |
String |
getNet() |
DockerImageSelector |
getSelector() |
List<Volume> |
getVolumes() |
boolean |
isForcePull() |
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, boolean forcePull, String net, String memory, String cpu)
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 boolean isForcePull()
public String getNet()
public String getMemory()
public String getCpu()
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.BuildWrapper
IOException
InterruptedException
hudson.model.Run.RunnerAbortedException
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
setUp
in class hudson.tasks.BuildWrapper
IOException
InterruptedException
Copyright © 2016–2018. All rights reserved.