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
IOException
InterruptedException
public abstract Container launchScmContainer(hudson.model.TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public abstract Container launchBuildContainers(hudson.Launcher.ProcStarter starter, hudson.model.TaskListener listener) throws IOException, InterruptedException
ContainerSetDefinition
.IOException
InterruptedException
public abstract hudson.Proc launchBuildProcess(hudson.Launcher.ProcStarter procStarter, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public abstract void clean(hudson.model.TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2016–2017. All rights reserved.