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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • pipeline
    • None

      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'){...}
              }
          }
      }

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

              Created:
              Updated:
              Resolved: