Class TaskStep

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

@Deprecated public class TaskStep extends org.jenkinsci.plugins.workflow.steps.Step
Deprecated.
since 1117; use a nested stage block instead.
The task step of 1.x, kept so that Jenkinsfiles that still use it keep running. It runs its body, names its block so that the view shows the block as a task of its stage, as 1.x did, and prints a reminder that a nested stage does the same without this plugin.
  • Constructor Details

    • TaskStep

      @DataBoundConstructor public TaskStep(String name)
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
    • start

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