Bitbucket pull request builder plugin keeps triggering same commit build

Viewed 3414

I need to integrate Bitbucket with Jenkins. So that whenever a PR is opened it will trigger a build in Jenkins. Then commit status of the last commit in the PR will be updated as failed or success and this commit wont trigger the build again. (This works beautiful with Github but seems to be a nightmare for me with Bitbucket)

So far I did:

enter image description here

enter image description here

Problems

  1. Build is triggered over and over again for the same PR/commit
  2. Commit status is not updated on bitbucket

Let me know if I can provide more information.

1 Answers
Related