Class OpenStackMachineStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
jenkins.plugins.openstack.pipeline.OpenStackMachineStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class OpenStackMachineStep extends org.jenkinsci.plugins.workflow.steps.Step
Provision auxiliary server not to be connected to Jenkins. Usage is as:
 node {
     def x = openstackMachine cloud: 'mitaka', template: 'CentOS-7'
     def y = openstackMachine cloud: 'mitaka', template: 'CentOS-7', scope: 'unlimited'
 }
 
  • Constructor Details

    • OpenStackMachineStep

      @DataBoundConstructor public OpenStackMachineStep()
  • Method Details

    • setCloud

      @DataBoundSetter public void setCloud(@Nonnull String cloud)
    • setTemplate

      @DataBoundSetter public void setTemplate(@Nonnull String template)
    • setScope

      @DataBoundSetter public void setScope(@CheckForNull String scope)
    • getCloud

      @Nonnull public String getCloud()
    • getTemplate

      @Nonnull public String getTemplate()
    • getScope

      @Nonnull public String getScope()
    • 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