public class HyperProvisioner extends Object
ContainerInstance
s based on $ContainerSetDefinition
to provide a queued task
an executor.限定符和类型 | 字段和说明 |
---|---|
protected JobBuildsContainersContext |
context |
protected ContainerDriver |
driver |
protected hudson.Launcher |
launcher |
protected hudson.model.TaskListener |
slaveListener |
protected ContainerSetDefinition |
spec |
构造器和说明 |
---|
HyperProvisioner(JobBuildsContainersContext context,
hudson.model.TaskListener slaveListener,
ContainerDriver driver,
hudson.model.Job job,
ContainerSetDefinition spec) |
限定符和类型 | 方法和说明 |
---|---|
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
public JobBuildsContainersContext getContext()
public void prepareAndLaunchSlaveContainer(hudson.slaves.SlaveComputer computer, hudson.model.TaskListener listener) throws IOException, InterruptedException
public hudson.Proc launchBuildProcess(hudson.Launcher.ProcStarter procStarter, hudson.model.TaskListener listener) throws IOException, InterruptedException
public void clean() throws IOException, InterruptedException
Copyright © 2016–2018. All rights reserved.