Description
I have two jobs defined for a particular repo.
One uses the bitbucket
plugin and is configured to build for pushes to any branch, triggered via a web hook. I nicknamed this the "push job".
The second uses the Bitbucket Pullrequest Builder plugin and is configured to merge the source branch into the target branch before testing. I've nicknamed this the "pr job".
I'd hoped that the "push" job would test the isolated commit and that the "pr" job would also run and test the merged results.
Instead, the push job runs and the pr job never bothers.
If I disable the push job and push something to the PR branch then the pr job does run.
If feels as if the pr job is deciding whether to run based on whether commit at the head of the source branch has been built, NOT whether the merge of that commit with the target branch has been built.
Is there a way to achieve the result I'm looking for?
Thanks!