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

Use latest commit for build status of pull request or branch

    XMLWordPrintable

Details

    Description

      For our team's usage, we would prefer that the overall build status for a pull request or branch reflect build status of the last commit of the branch.
      Currently it shows a failed build status even if there is a newer build on a newer commit in that branch which passes.

      For example, if I have a branch called "new_feature" with the following commits (oldest first):

      The current behaviour is:
      When I go to the "branches" page of my repo on the Bitbucket web UI, the build status of "new_feature" branch is "failed" because there was at least one failed build from commit BCLOUD-2.

      When I open a new pull request on that branch the build status is "failed" (same reason).

      Our desired behaviour is:
      When I go to the "branches" page, the build status of "new_feature" branch is "passed" because the build for the newest commit (#3) passed which supersedes the failed build from commit BCLOUD-2.

      When I open a new pull request on that branch the build status is "passed" (same reason).

      Attachments

        Activity

          People

            Unassigned Unassigned
            rrudnicki Renato Rudnicki (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: