Class EC2Step

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
hudson.plugins.ec2.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 Details

    • EC2Step

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

    • 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