Would be nice if there is an easy way to cancel all pending builds

From @yas375 on Mon Nov 14 2016 14:17:48 GMT-0500 (EST)

Would be nice if there is an easy way to cancel all pending builds. For example we are investigating some flickering UI tests and wanted to run a workflow for a 100 times. Was easy to schedule with curl, but then it turned out there was a mistake and I had to open 100 pages, hit Abort button for another 100 times and then a 100 times I had to confirm the action. It’s a little painful. :slight_smile:

Thanks in advance!

(I’ve sent it to support first, and got a reply suggesting to post it here instead)

Copied from original issue: https://github.com/bitrise-io/bitrise.io/issues/96

From @viktorbenei on Mon Nov 14 2016 14:48:29 GMT-0500 (EST)

Definitely a great idea, thanks for the feature request! (and don’t forget to vote on it here :wink: )

1 Like

Just an update, this should be now possible with the v0.1 API.

Docs for build list filtering (to only get e.g. the non finished / running builds) coming soon, related PR: https://github.com/bitrise-io/devcenter/pull/140/files

Will leave this #feature-request open for a built in web UI option.

Build list filtering available - it’s now simple to do this via the API, by listing all the running builds (status=0) and then calling the abort endpoint for them.