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

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

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

          [JENKINS-47532] Add possibility to run several stages 1-by-1 in a 'parallel' thread

          Dzmitry Moisa created issue -
          Dzmitry Moisa made changes -
          Description Original: 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. For now the pipeline showed at the picture in attach is not possible. !2017-10-19_1718.png! New: 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. For now the pipeline showed at the picture in attach is not possible.

          It could be implemented like this:
          {code:java}
          ------A---B---------
             \--C---D--/

          stage("Parallel stage"){
              parallel{
                  stages{
                      stage("A"){...}
                      stage("B"){...}
                  }
                  stages{
                      stage('C'){...}
                      stage('D'){...}
              }
          }{code}
          !2017-10-19_1718.png!
          Dzmitry Moisa made changes -
          Attachment Original: 2017-10-19_1718.png [ 40066 ]
          Dzmitry Moisa made changes -
          Description Original: 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. For now the pipeline showed at the picture in attach is not possible.

          It could be implemented like this:
          {code:java}
          ------A---B---------
             \--C---D--/

          stage("Parallel stage"){
              parallel{
                  stages{
                      stage("A"){...}
                      stage("B"){...}
                  }
                  stages{
                      stage('C'){...}
                      stage('D'){...}
              }
          }{code}
          !2017-10-19_1718.png!
          New: 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:
          {code:java}
          -----------A-------B------------
               \ /
                -----C-------D-----{code}
          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:
          {code:java}
          stage("Parallel stage"){
              parallel{
                  stages{
                      stage("A"){...}
                      stage("B"){...}
                  }
                  stages{
                      stage('C'){...}
                      stage('D'){...}
              }
          }{code}
          Dzmitry Moisa made changes -
          Description Original: 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:
          {code:java}
          -----------A-------B------------
               \ /
                -----C-------D-----{code}
          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:
          {code:java}
          stage("Parallel stage"){
              parallel{
                  stages{
                      stage("A"){...}
                      stage("B"){...}
                  }
                  stages{
                      stage('C'){...}
                      stage('D'){...}
              }
          }{code}
          New: 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:
          {code:java}
          -----------A-------B------------
               \ /
                -----C-------D-----{code}
          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:
          {code:java}
          stage("Parallel stage"){
              parallel{
                  stages{
                      stage("A"){...}
                      stage("B"){...}
                  }
                  stages{
                      stage('C'){...}
                      stage('D'){...}
                  }
              }
          }{code}
          Andrew Bayer made changes -
          Link New: This issue duplicates JENKINS-46809 [ JENKINS-46809 ]
          Andrew Bayer made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: