public class DockerComputerSingleJNLPLauncher
extends hudson.slaves.JNLPLauncher
DockerComputerJNLPLauncher
.
Used for DockerSlaveSingle
DockerComputerSingle
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_TIMEOUT |
static String |
DEFAULT_USER |
protected String |
jenkinsUrl |
protected String |
jvmOpts |
protected long |
launchTimeout |
protected boolean |
noCertificateCheck |
protected boolean |
reconnect |
protected String |
slaveOpts |
protected String |
user |
Constructor and Description |
---|
DockerComputerSingleJNLPLauncher() |
Modifier and Type | Method and Description |
---|---|
void |
appendContainerConfig(com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd createContainerCmd) |
String |
getContainerId() |
String |
getJenkinsUrl(String rootUrl) |
String |
getJvmOpts() |
long |
getLaunchTimeout() |
String |
getSlaveOpts() |
String |
getUser() |
boolean |
isNoCertificateCheck() |
boolean |
isNoReconnect() |
void |
launch(hudson.slaves.SlaveComputer computer,
hudson.model.TaskListener listener) |
void |
setJenkinsUrl(String jenkinsUrl) |
void |
setJvmOpts(String jvmOpts) |
void |
setLaunchTimeout(long launchTimeout) |
void |
setNoCertificateCheck(boolean noCertificateCheck) |
void |
setNoReconnect(boolean noReconnect) |
void |
setSlaveOpts(String slaveOpts) |
void |
setUser(String user) |
public static final long DEFAULT_TIMEOUT
public static final String DEFAULT_USER
protected long launchTimeout
protected String user
protected String jvmOpts
protected String slaveOpts
protected String jenkinsUrl
protected boolean noCertificateCheck
protected boolean reconnect
@DataBoundSetter public void setSlaveOpts(String slaveOpts)
@DataBoundSetter public void setJvmOpts(String jvmOpts)
@DataBoundSetter public void setNoCertificateCheck(boolean noCertificateCheck)
public boolean isNoCertificateCheck()
@DataBoundSetter public void setNoReconnect(boolean noReconnect)
public boolean isNoReconnect()
@DataBoundSetter public void setUser(String user)
public String getUser()
public long getLaunchTimeout()
@DataBoundSetter public void setLaunchTimeout(long launchTimeout)
public void setJenkinsUrl(String jenkinsUrl)
@CheckForNull public String getContainerId()
public void launch(hudson.slaves.SlaveComputer computer, hudson.model.TaskListener listener)
launch
in class hudson.slaves.JNLPLauncher
public void appendContainerConfig(com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd createContainerCmd) throws IOException
IOException
Copyright © 2016–2020. All rights reserved.