public abstract class DockerProvisioner extends Object
| Constructor and Description | 
|---|
| DockerProvisioner() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | clean(hudson.model.TaskListener listener)Cleanup all allocated resources | 
| abstract ContainersContext | getContext() | 
| abstract Container | launchBuildContainers(hudson.Launcher.ProcStarter starter,
                     hudson.model.TaskListener listener)Launch build environment as defined by (@link Job}'s  ContainerSetDefinition. | 
| abstract hudson.Proc | launchBuildProcess(hudson.Launcher.ProcStarter procStarter,
                  hudson.model.TaskListener listener)Run specified process inside the main build container | 
| abstract Container | launchRemotingContainer(DockerComputer computer,
                       hudson.model.TaskListener listener)Launch a container to host jenkins remoting agent and establish a channel as a Jenkins slave. | 
| abstract Container | launchScmContainer(hudson.model.TaskListener listener)Launch a container whith adequate tools to run the SCM checkout build phase. | 
public abstract ContainersContext getContext()
public abstract Container launchRemotingContainer(DockerComputer computer, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic abstract Container launchScmContainer(hudson.model.TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic abstract Container launchBuildContainers(hudson.Launcher.ProcStarter starter, hudson.model.TaskListener listener) throws IOException, InterruptedException
ContainerSetDefinition.IOExceptionInterruptedExceptionpublic abstract hudson.Proc launchBuildProcess(hudson.Launcher.ProcStarter procStarter,
                                               hudson.model.TaskListener listener)
                                        throws IOException,
                                               InterruptedException
IOExceptionInterruptedExceptionpublic abstract void clean(hudson.model.TaskListener listener)
                    throws IOException,
                           InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.