Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22108

Parallel set nested in another parallel set

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      Users have requested the ability to have a parallel set within another parallel set.

      The use case is:

      • running infrastructure steps and application steps in parallel
      • both streams have sequential and parallel steps

      The following feature request concerns having sequential steps within a parallel set: https://jira.atlassian.com/browse/BCLOUD-19908

      This feature request is for the ability to have a parallel set of steps in a parallel stream

      Suggested Solution

      The solution would be the ability to do something like the following:

      pipelines:
        default:
          - parallel:
            - stream-infrastructure:
              - step: *step-one (sequential)
              - step: *step-two (sequential)
              - parallel:
                - step: *step-three
                - step: *step-four
            - stream-application:
              - step: *step-five (sequential)
              - step: *step-six (sequential)
              - parallel:
                - step: *step-seven
                - step: *step-eight
      

      where

      • stream-infrastructure and stream-application streams will run in parallel
      • within stream-infrastructure stream, step-one and step-two will run sequentially
        and step-three and step-four will run in parallel (and similarly for the steps in stream-application stream)

              Unassigned Unassigned
              tboudale Theodora Boudale (Inactive)
              Votes:
              10 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: