Pipelines should build on PR creation

Issue #13128 duplicate
Ben Gummer
staff created an issue

Our team run extensive tests against each branch which take a while to run. It would be cool to run a smaller test suite for in-progress branches, and then only run the full test suite once a PR is raised. This would be a good balance of dev speed and test/merge safety.

Currently we are achieving this in pipelines by calling the Bitbucket REST API to see if a PR is open for the relevant branch, however this is not 100% reliable because if the PR is raised while the commit build is running then the "full" test suite will never be triggered.

Comments (4)

  1. Log in to comment