@Extension public class ElasticBoxSlaveHandler extends ElasticBoxExecutor.Workload
Modifier and Type | Field and Description |
---|---|
static int |
TIMEOUT_MINUTES |
Constructor and Description |
---|
ElasticBoxSlaveHandler() |
Modifier and Type | Method and Description |
---|---|
static boolean |
addToTerminatedQueue(ElasticBoxSlave slave) |
protected void |
execute(hudson.model.TaskListener listener) |
static List<net.sf.json.JSONObject> |
getActiveInstances(ElasticBoxCloud cloud) |
protected ElasticBoxExecutor.ExecutionType |
getExecutionType() |
static ElasticBoxSlaveHandler |
getInstance() |
static boolean |
isSubmitted(ElasticBoxSlave slave) |
static void |
launchSingleUseSlave(AbstractSlaveConfiguration slaveCfg,
String label) |
protected void |
resubmitRequest(com.elasticbox.jenkins.ElasticBoxSlaveHandler.InstanceCreationRequest request) |
static IProgressMonitor |
submit(ElasticBoxSlave slave) |
void |
tagSlaveInstance(net.sf.json.JSONObject instance,
ElasticBoxSlave slave) |
log, log, log, log
public static final ElasticBoxSlaveHandler getInstance()
public static final IProgressMonitor submit(ElasticBoxSlave slave)
protected void resubmitRequest(com.elasticbox.jenkins.ElasticBoxSlaveHandler.InstanceCreationRequest request)
public static final boolean isSubmitted(ElasticBoxSlave slave)
public static final boolean addToTerminatedQueue(ElasticBoxSlave slave)
public static List<net.sf.json.JSONObject> getActiveInstances(ElasticBoxCloud cloud) throws IOException
IOException
public void tagSlaveInstance(net.sf.json.JSONObject instance, ElasticBoxSlave slave) throws IOException
IOException
protected ElasticBoxExecutor.ExecutionType getExecutionType()
getExecutionType
in class ElasticBoxExecutor.Workload
protected void execute(hudson.model.TaskListener listener) throws IOException
execute
in class ElasticBoxExecutor.Workload
IOException
public static void launchSingleUseSlave(AbstractSlaveConfiguration slaveCfg, String label) throws IOException, hudson.model.Descriptor.FormException
IOException
hudson.model.Descriptor.FormException
Copyright © 2016–2019. All rights reserved.