public class DockerBuilderControlOptionRun extends DockerBuilderControlCloudOption
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerBuilderControlOptionRun.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
boolean |
bindAllPorts |
String |
bindPorts |
Integer |
cpuShares |
String |
dnsString |
String |
dockerCommand |
String |
environmentsString |
String |
hostname |
String |
image |
String |
lxcConfString |
String |
macAddress |
Integer |
memoryLimit |
Integer |
memorySwap |
String |
network |
boolean |
privileged |
org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint |
registry |
boolean |
tty |
String |
volumesFrom |
String |
volumesString |
cloudName| Constructor and Description |
|---|
DockerBuilderControlOptionRun(String cloudName,
String image,
org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint registry,
String lxcConfString,
String dnsString,
String network,
String dockerCommand,
String volumesString,
String volumesFrom,
String environmentsString,
String hostname,
Integer memoryLimit,
Integer memorySwap,
Integer cpuShares,
String bindPorts,
boolean bindAllPorts,
boolean privileged,
boolean tty,
String macAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
getCloud, getCloudNamegetDescriptor, getLaunchActionpublic final String image
public final org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint registry
public final String dnsString
public final String network
public final String dockerCommand
public final String volumesString
public final String volumesFrom
public final String environmentsString
public final String lxcConfString
public final boolean privileged
public final boolean tty
public final String hostname
public final String bindPorts
public final Integer memoryLimit
public final Integer memorySwap
public final Integer cpuShares
public final boolean bindAllPorts
public final String macAddress
@DataBoundConstructor public DockerBuilderControlOptionRun(String cloudName, String image, org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint registry, String lxcConfString, String dnsString, String network, String dockerCommand, String volumesString, String volumesFrom, String environmentsString, String hostname, Integer memoryLimit, Integer memorySwap, Integer cpuShares, String bindPorts, boolean bindAllPorts, boolean privileged, boolean tty, String macAddress)
public void execute(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws com.github.dockerjava.api.exception.DockerException
execute in class DockerBuilderControlOptioncom.github.dockerjava.api.exception.DockerExceptionCopyright © 2016–2017. All rights reserved.