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

Allow parallel/pipeline step to wait for another step

    XMLWordPrintable

Details

    • 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.

    Description

      Currently, all the parallel steps run simultaneously. The suggestion is to provide a flag or wait for the parameter and based on the result of certain steps, other parallel/pipeline steps should run.

      For example, in the below example, Step 2 and Step 3 should run parallelly once Step 1 is completed. Til then, it needs to wait for Step 1 to complete.  

      pipelines:
        default:
          - parallel:      
              steps: 
                - step:
                    deployment: Test1
                    script:
                      - echo "This Test1 deployment under Test environment" 
                - step:
                    deployment: Test2 
                    waitfor(step1)
                    script:
                      - echo "This Test2 deployment under Test environment" 
              - step:
                    deployment: Test3
                    waitfor(step1)
                    script:
                      - echo "This Test3 deployment under Test environment" 
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            40b9b0a8faa9 Karthick S
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: