public class DockerJobContainersProvisioner extends Object
ContainerInstances based on $JobBuildsContainersDefinition to provide a queued task
an executor.| Modifier and Type | Class and Description |
|---|---|
class |
DockerJobContainersProvisioner.BuildContainer |
| Constructor and Description |
|---|
DockerJobContainersProvisioner(hudson.model.Job job,
org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint dockerHost,
hudson.model.TaskListener slaveListener,
String remotingImage,
String scmImage) |
| 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,
hudson.model.TaskListener listener) |
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 remotingImage,
String scmImage)
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, hudson.model.TaskListener listener) 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.