Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7820

As a Stash user, I need contextualized build status so that a pull request could be merged even if builds not relative to the pull request are failing.

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Answered
    • 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.

      The current situation with Stash is:

      Build status are linked to commits.
      We can set an option to prevent pull requests merge action if there is not enough builds and if any build fail.
      A single commit could be included in many pull requests, targetting different branches.

      Core issues are:

      • Sometime, you look at the status of the pull request, and you see the status of the last commit of the pull request. So status could be confusing for a user who care only about builds relative to the specified pull request and not the results of all the builds.
      • We you set the option to prevent merge if there is not enough valid builds, and all builds successful, this option could prevent merging because of the result of a build that is relative to the same commit but to a different pull request targetting a different branch for example.

      What we need:
      We need to have a clear and relevant status. Could Stash propose a build status that return only the builds results that are relevants for the context? AKA:

      • If you look into a branch, status on the commit in the branch
      • If you look specifically at a commit, all builds results
      • if you look at a pull requests, only the builds that are relative to the concerned pull request

      We need also to have a trustable merge button, that prevent you for merging only if the builds concerning the pull request in question are broken, and ignoring the results of non relevant builds.

      Regards,
      Pierre

              Unassigned Unassigned
              ebb5a04c5dfa Pierre Zurmely
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: