Class ECSProvisioningStrategy

  • All Implemented Interfaces:
    ExtensionPoint

    @Extension
    public class ECSProvisioningStrategy
    extends NodeProvisioner.Strategy
    Overrides Jenkins' default ProvisioningStrategy to always provision an agent ASAP. This code is lifted from https://github.com/jenkinsci/jenkins/blob/67e19919081023a54b450fffaf7005d4e40339d3/core/src/main/java/hudson/slaves/NodeProvisioner.java#L632, removing most of the code that handles load statistics averaging in favour of just using the latest values.