Allow parallel/pipeline step to wait for another step

XMLWordPrintable

      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" 
      
      

            Assignee:
            Unassigned
            Reporter:
            Karthick S
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: