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

Limit concurrent pipelines so deployment scripts don't clash

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.

      Hi.

      I think the option to enable a pipeline to run sequentially (one at a time per pipeline / branch, ordered by the commit date) would be very useful.

      That would be useful (essential, even) in cases where one commit results in one deploy.

      The way it is today, you can't commit multiple times in a short period of time, or it will result in multiple deploys running at the same time.

      The configuration could be like this:

      #!yml
      image: MY_IMAGE
      pipelines:
        branches:
          master:
            sequential: true
            - step:
                script:
                  - MY_SCRIPT
      

      or

      #!yml
      image: MY_IMAGE
      pipelines:
        branches:
          master:
            parallel: false
            - step:
                script:
                  - MY_SCRIPT
      

      Thanks.

              Unassigned Unassigned
              00b2fa7d35c6 Daniel Faria Gomes
              Votes:
              35 Vote for this issue
              Watchers:
              54 Start watching this issue

                Created:
                Updated:
                Resolved: