public class HyperProvisioner extends Object
ContainerInstances based on $ContainerSetDefinition to provide a queued task
an executor.| Modifier and Type | Field and Description |
|---|---|
protected JobBuildsContainersContext |
context |
protected ContainerDriver |
driver |
protected hudson.Launcher |
launcher |
protected hudson.model.TaskListener |
slaveListener |
protected ContainerSetDefinition |
spec |
| Constructor and Description |
|---|
HyperProvisioner(JobBuildsContainersContext context,
hudson.model.TaskListener slaveListener,
ContainerDriver driver,
hudson.model.Job job,
ContainerSetDefinition spec) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
JobBuildsContainersContext |
getContext() |
hudson.Proc |
launchBuildProcess(hudson.Launcher.ProcStarter procStarter,
hudson.model.TaskListener listener) |
void |
prepareAndLaunchSlaveContainer(hudson.slaves.SlaveComputer computer,
hudson.model.TaskListener listener) |
protected final JobBuildsContainersContext context
protected final hudson.model.TaskListener slaveListener
protected final ContainerDriver driver
protected final hudson.Launcher launcher
protected final ContainerSetDefinition spec
public HyperProvisioner(JobBuildsContainersContext context, hudson.model.TaskListener slaveListener, ContainerDriver driver, hudson.model.Job job, ContainerSetDefinition spec) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic JobBuildsContainersContext getContext()
public void prepareAndLaunchSlaveContainer(hudson.slaves.SlaveComputer computer,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic hudson.Proc launchBuildProcess(hudson.Launcher.ProcStarter procStarter,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void clean()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016. All rights reserved.