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

Add branch restriction that allows failed builds on the most recent commit, as long as latest builds are successful

    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, Bitbucket has a branch restriction that states the following:

      Minimum number of successful builds for the last commit with no failed builds and no in progress builds

      This is the only build-related branch restriction at this time.

      The requirement here is to add a branch restriction that allows failed builds on the latest commit of a given PR, however, it only does so if the latest build in that PR successful.

      Example description for this branch restriction:

      Check that the latest build for the last commit is successful, ignoring failed builds, and no in progress builds.

      This will allow users to continue with the merge without needing to create a new commit and run additional builds on a newer commit to have a mergeable PR.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lmontiel@atlassian.com Leonardo M
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: