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

Manual trigger for parallel group

    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

      Hi,

      I recently needed to run two builds (production and stable development images) in parallel and I found that parallel steps d not support the trigger: manual property.

      We run out test scripts before the builds and need a manual trigger since not every pipeline trigger should build a new image. As a workaround I created a "dummy step" before the parallel build steps just to enable the manual trigger, but this creates an overhead because nothing is done inside this "dummy step".

      Could you enable the trigger: manual property inside parallel steps so it's faster? Also it's more declarative and makes the yaml clearer to read. The syntax could be something like this:

      #!yaml
      
      parallel:
          trigger: manual
          - step:
              script: ...
          -step:
              script: ...
      
      

      Thank you!

      Attachments

        Activity

          People

            Unassigned Unassigned
            74a1ee11f17e viniciusmaraujo
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: