Class ParallelStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.workflow.cps.steps.ParallelStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public class ParallelStep extends org.jenkinsci.plugins.workflow.steps.Step
CPS-specific Step implementation that executes multiple closures in parallel. TODO: somehow needs to declare that this only works with CpsFlowExecution.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • ParallelStep

      public ParallelStep(Map<String,groovy.lang.Closure> closures, boolean failFast)
  • Method Details

    • 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