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

Support parallel execution of sequence of stages

    Details

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

      Description

      As a developer, I want to run multiple sequences of stages in parallel so that I can split up my parallel stages.

      Currently, The Jenkinsfile syntax only allows to run single stages in parallel. I would like to do something like this:

      parallel {
        stages {
          stage('Build on Linux') {
            steps {
              echo 'Building on Linux'
            }
          }
          stage('Test on Linux') {
            steps {
              echo 'Testing on Linux'
            }
          }
        }
        stages {
          stage('Build on macOS') {
            steps {
              echo 'Building on macOS'
            }
          }
          stage('Test on Linux') {
            steps {
              echo 'Testing on macOS'
            }
          }
        }
      }

      However, parallel only support 'stage' as a sub-element, not stages.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                hendrikhalkow Hendrik Halkow
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: