Class CreateOSShStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
sh.createos.jenkins.sandbox.CreateOSShStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, Serializable

public class CreateOSShStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
Pipeline step that runs a shell script inside the active CreateOS sandbox.
See Also:
  • Constructor Details

    • CreateOSShStep

      @DataBoundConstructor public CreateOSShStep(String script)
      Creates a shell step with the script to execute inside the sandbox.
  • Method Details

    • getScript

      public String getScript()
    • isReturnStatus

      public boolean isReturnStatus()
    • setReturnStatus

      @DataBoundSetter public void setReturnStatus(boolean returnStatus)
    • isReturnStdout

      public boolean isReturnStdout()
    • setReturnStdout

      @DataBoundSetter public void setReturnStdout(boolean returnStdout)
    • start

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