@Extension(ordinal=100.0) public class NoDelayProvisionStrategy extends NodeProvisioner.Strategy
NodeProvisioner.Strategy
which will provision a new node immediately as
a task enter the queue.
Now that EC2 is billed by the minute, we don't really need to wait before provisioning a new node.
As based we are used EC2 Jenkins Plugin
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
NoDelayProvisionStrategy() |
Modifier and Type | Method and Description |
---|---|
NodeProvisioner.StrategyDecision |
apply(NodeProvisioner.StrategyState strategyState) |
protected List<Cloud> |
getClouds() |
public NodeProvisioner.StrategyDecision apply(NodeProvisioner.StrategyState strategyState)
apply
in class NodeProvisioner.Strategy
Copyright © 2016–2023. All rights reserved.