Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47532

Add possibility to run several stages 1-by-1 in a 'parallel' thread

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      Currently it is possible to run only 1 stage into a thread inside a 'parallel' section. It is reasonable (and really required for my project now) to have a way to run several stages per thread into а parallel section like this:

      -----------A-------B------------
           \                   /
            -----C-------D-----

      For now the pipeline showed above is not possible besides running all the commands withing 1 stage in several steps.

      It could be implemented like this:

      stage("Parallel stage"){
          parallel{
              stages{
                  stage("A"){...}
                  stage("B"){...}
              }
              stages{
                  stage('C'){...}
                  stage('D'){...}
              }
          }
      }

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                gnome Dzmitry Moisa
              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: