public class AnkaOnDemandSlave extends AbstractAnkaSlave
Modifier and Type | Class and Description |
---|---|
static class |
AnkaOnDemandSlave.VeertuCloudComputerListener |
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor
launchTimeout, launchTimeoutSeconds, maxNumRetries, name, retryWaitTime, template, vm
Modifier | Constructor and Description |
---|---|
protected |
AnkaOnDemandSlave(String name,
String nodeDescription,
String remoteFS,
int numExecutors,
hudson.model.Node.Mode mode,
String labelString,
hudson.slaves.ComputerLauncher launcher,
List<? extends hudson.slaves.NodeProperty<?>> nodeProperties,
AnkaCloudSlaveTemplate template,
AnkaMgmtVm vm) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTerminate() |
static AnkaOnDemandSlave |
createProvisionedSlave(AnkaCloudSlaveTemplate template,
hudson.model.Label label,
AnkaMgmtVm vm) |
static String |
generateName(AnkaCloudSlaveTemplate template) |
String |
getNodeDescription() |
boolean |
isKeepAliveOnError() |
void |
setDescription(String jobAndNumber) |
void |
setHadErrorsOnBuild(boolean value) |
_terminate, createComputer, getTemplate, getVM, terminate
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toString
canTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputer
protected AnkaOnDemandSlave(String name, String nodeDescription, String remoteFS, int numExecutors, hudson.model.Node.Mode mode, String labelString, hudson.slaves.ComputerLauncher launcher, List<? extends hudson.slaves.NodeProperty<?>> nodeProperties, AnkaCloudSlaveTemplate template, AnkaMgmtVm vm) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormException
IOException
public static String generateName(AnkaCloudSlaveTemplate template)
public static AnkaOnDemandSlave createProvisionedSlave(AnkaCloudSlaveTemplate template, hudson.model.Label label, AnkaMgmtVm vm) throws IOException, AnkaMgmtException, hudson.model.Descriptor.FormException, InterruptedException
IOException
AnkaMgmtException
hudson.model.Descriptor.FormException
InterruptedException
public void setDescription(String jobAndNumber)
public String getNodeDescription()
getNodeDescription
in class hudson.model.Slave
public boolean isKeepAliveOnError()
public boolean canTerminate()
public void setHadErrorsOnBuild(boolean value)
Copyright © 2016–2018. All rights reserved.