java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep
org.jenkinsci.plugins.workflow.steps.durable_task.ShellStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, EnvVarsFilterableBuilder

public final class ShellStep extends DurableTaskStep
Runs a Bourne shell script asynchronously on a build agent.
  • Constructor Details

    • ShellStep

      @DataBoundConstructor public ShellStep(String script)
  • Method Details

    • getScript

      public String getScript()
    • task

      protected org.jenkinsci.plugins.durabletask.DurableTask task()
      Specified by:
      task in class DurableTaskStep
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Overrides:
      start in class DurableTaskStep
      Throws:
      Exception