Class 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 Detail

      • ParallelStep

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

      • 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