Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-8805

More flexibility when configuring required green builds on PR merge

    XMLWordPrintable

Details

    • Suggestion
    • Status: Closed (View Workflow)
    • Resolution: Duplicate
    • None
    • None
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Currently Bitbucket Server can be configured to require a minimum number of passing Bamboo builds before can be merged. This great, but the problem comes here:

      If there are more than the specified number of builds, all of them will have to be successful in order to merge the pull request

      In the case of our project, we have a certain number of core builds that must be green on the branch, and a selection of more speculative builds that developers are encouraged to run but which don't need to be green.

      This combination means that we can't use this feature, since if these speculative builds are run then the PR would never be mergeable.

      I would like to see the above behaviour made optional, i.e. a minimum number of green builds, but with the "all builds must be green" part made an additional option.

      For bonus points, I'd like to be able to additionally specify which specific builds must be green, to prevent devs from trying to work around it by adding additional but unimportant builds to just get the required green count.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kmacleod Kenny MacLeod
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: