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

Allow users to select multiple pipelines when they use the "Run pipelines" option

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 the ability to run a pipeline manually

      • either from the Pipelines page of a repo > Run pipeline
      • or from the commit view: when viewing a commit, there is a "Run pipeline" option
      • or from the Branches page of the repo: select Actions for a branch > Run pipeline for a branch

      This option allows users to select one pipeline to run at a time.
      If they want to run multiple pipelines, they'll need to select "Run pipeline" X times (where X is the number of pipelines they want to run).

      This process can be tedious, especially for users who have multiple custom pipelines only and make use of the "Run pipelines" option to trigger their builds.

      Suggested Solution

      In the "Run pipeline" dialog, allow users to select multiple pipelines to run.

      Workaround

      The only workaround at the moment would be to create a script that uses our API to trigger a pipeline:

      https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-pipelines-post

      and in that script include X API calls (where X is the number of pipelines you want to trigger), one for each pipeline.

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

                Created:
                Updated: