public class DockerJobContainersProvisioner extends Object
DockerSlave to provide queued task an executor.| Modifier and Type | Class and Description |
|---|---|
class |
DockerJobContainersProvisioner.BuildContainer |
| Modifier and Type | Field and Description |
|---|---|
protected hudson.model.Job |
job |
| Constructor and Description |
|---|
DockerJobContainersProvisioner(hudson.model.Job job,
org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint dockerHost,
hudson.model.TaskListener slaveListener,
String defaultBuildContainerImageName,
String remotingContainerImageName) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
void |
createBuildContainer(DockerJobContainersProvisioner.BuildContainer buildContainer) |
JobBuildsContainersContext |
getContext() |
void |
launchRemotingContainer(hudson.slaves.SlaveComputer computer,
hudson.model.TaskListener listener) |
void |
launchSideContainers(DockerComputer computer,
hudson.model.TaskListener listener) |
DockerJobContainersProvisioner.BuildContainer |
newBuildContainer(hudson.Launcher.ProcStarter procStarter) |
void |
prepareRemotingContainer() |
hudson.Proc |
startBuildContainer(DockerJobContainersProvisioner.BuildContainer buildContainer) |
public DockerJobContainersProvisioner(hudson.model.Job job,
org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint dockerHost,
hudson.model.TaskListener slaveListener,
String defaultBuildContainerImageName,
String remotingContainerImageName)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic JobBuildsContainersContext getContext()
public void prepareRemotingContainer()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void launchRemotingContainer(hudson.slaves.SlaveComputer computer,
hudson.model.TaskListener listener)
public DockerJobContainersProvisioner.BuildContainer newBuildContainer(hudson.Launcher.ProcStarter procStarter) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void createBuildContainer(DockerJobContainersProvisioner.BuildContainer buildContainer) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic hudson.Proc startBuildContainer(DockerJobContainersProvisioner.BuildContainer buildContainer) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void launchSideContainers(DockerComputer computer, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void clean()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2004-2015. All Rights Reserved.