public class HyperSlave
extends it.dockins.dockerslaves.api.OneShotSlave
EphemeralNode
using hyper container to host the build processes.
Slave is dedicated to a specific $Job
, and even better to a specific build, but when this class
is created the build does not yet exists due to Jenkins lifecycle.限定符和类型 | 类和说明 |
---|---|
static class |
HyperSlave.HyperSlaveRunListener
This listener get notified as the build is going to start.
|
限定符和类型 | 字段和说明 |
---|---|
static String |
SLAVE_ROOT |
构造器和说明 |
---|
HyperSlave(String name,
String nodeDescription,
String labelString,
HyperProvisionerFactory provisionerFactory) |
限定符和类型 | 方法和说明 |
---|---|
HyperSlave |
asNode() |
HyperComputer |
createComputer() |
hudson.Launcher |
createLauncher(hudson.model.TaskListener listener)
Create a custom $
Launcher which relies on plil docker run to start a new process |
HyperComputer |
getComputer() |
equals, getClockDifferenceCallable, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toString
canTake, canTake, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputer
public HyperSlave(String name, String nodeDescription, String labelString, HyperProvisionerFactory provisionerFactory) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormException
IOException
public HyperComputer createComputer()
createComputer
在类中 hudson.model.Slave
public HyperSlave asNode()
public HyperComputer getComputer()
getComputer
在类中 it.dockins.dockerslaves.api.OneShotSlave
public hudson.Launcher createLauncher(hudson.model.TaskListener listener)
Launcher
which relies on plil docker run
to start a new processcreateLauncher
在类中 it.dockins.dockerslaves.api.OneShotSlave
Copyright © 2016–2018. All rights reserved.