# Shows build result on wrong commit

**URL:** <https://discuss.bitrise.io/t/shows-build-result-on-wrong-commit/3109>\
**Category:** Other Issues\
**Created:** [October 24, 2017, 2:52pm UTC](https://discuss.bitrise.io/t/shows-build-result-on-wrong-commit/3109 "2017-10-24T14:52:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jemshit](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/jemshit/32/924_2.png) [@jemshit](https://discuss.bitrise.io/u/jemshit)\
**Post date:** [October 24, 2017, 2:52pm UTC](https://discuss.bitrise.io/t/shows-build-result-on-wrong-commit/3109/1 "2017-10-24T14:52:32Z")

</div>

Hi, there is one pull request on our repo and have 3 commits in it, when i see build reports (statuses) of each commit, 2 passed and 1 failed. But the one that should have failed is marked as passed and one that should have passed is marked as failed. it is android project. When i see build report of failed commit, it shows line number which failed, but in reality that line number does not belong to that commit, i have checked github.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 24, 2017, 7:33pm UTC](https://discuss.bitrise.io/t/shows-build-result-on-wrong-commit/3109/2 "2017-10-24T19:33:54Z")

</div>

Hi @jemshit,

Can you please provide more information? Probably it would be easier if you could contact us via email or the onsite chat on [bitrise.io](http://bitrise.io) as we’ll need some private information.

In general, build status is reported for build commits (not for PR number or similar), and a build does not know any other commit hash other than the one it was started with, so it’s highly unlikely that the status would be reported for another hash. I believe it’s more likely that the line number did not match the one on the PR because the PR builds are doing a pre-merge of the PR, simulating the code **after** you’d merge the PR, and not directly testing the source branch.

If this doesn’t help please contact our support as we’ll need more info to do further debugging.

---

<div class="post-metadata">

**Author:** ![jemshit](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/jemshit/32/924_2.png) [@jemshit](https://discuss.bitrise.io/u/jemshit)\
**Post date:** [October 24, 2017, 7:47pm UTC](https://discuss.bitrise.io/t/shows-build-result-on-wrong-commit/3109/3 "2017-10-24T19:47:14Z")

</div>

OK, ill write on onsite chat

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 24, 2017, 8:26pm UTC](https://discuss.bitrise.io/t/shows-build-result-on-wrong-commit/3109/4 "2017-10-24T20:26:24Z")

</div>

Thanks! 🙂
