In Settings, there is a feature called: ROLLING BUILDS, described as “Auto-cancel on-hold builds if a new build is triggered on the same branch”
There’s a couple other options that can also be enabled:
- Pull Requests Will cancel all previous builds for Pull Requests and all related Pushes
- Pushes Will cancel all previous builds for Pushes to the same branch
- Running builds Will also auto-cancel running builds in addition to on-hold ones
The problem I’m hitting into is that it’s cancelling builds of different workflows.
e.g. we have unit_test automatically kick off whenever someone pushes to develop
When this happens, any build that is targeting develop will be canceled, even if it’s a different workflow (e.g. ui_automation)
Is there a way to configure this so that it only cancels other builds of the same workflow?