Class EC2Step

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public class EC2Step
    extends org.jenkinsci.plugins.workflow.steps.Step
    Returns the instance provisioned. Used like:
     node {
         def x = ec2 cloud: 'myCloud', template: 'aws-CentOS-7'
     }
     
    Author:
    Alicia Doblas
    • Constructor Detail

      • EC2Step

        @DataBoundConstructor
        public EC2Step​(String cloud,
                       String template)
    • Method Detail

      • getCloud

        public String getCloud()
      • getTemplate

        public String getTemplate()
      • start

        public org.jenkinsci.plugins.workflow.steps.StepExecution start​(org.jenkinsci.plugins.workflow.steps.StepContext context)
                                                                 throws Exception
        Specified by:
        start in class org.jenkinsci.plugins.workflow.steps.Step
        Throws:
        Exception