Details
-
Bug
-
Resolution: Fixed
-
Low
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).