Auto aborting dependend (fan-out) buids when main workflow is aborted?

#1

So basically whole question is in title. The background is that during PR build we are triggering 2 additional workflows to speed up the process. Unfortunately aborting main build does not influence its fan-out builds. They have to be aborted manually which is a bit annoying.

0 Likes

#2

You can generate a bitrise API token and abort all the 3 workflows using eg. curl. Before that you need to make additional requests to figure out build slugs.
API docs: https://api-docs.bitrise.io/#/builds/build-abort
That script can be even placed in yet another bitrise workflow.

0 Likes