Command argument to cancel the whole build in case of fail

say

  • command:
    • some subCommand
      hard_fail: true

And if subCommand returns non zero - the whole bulid is cancelled and marked as failed.

The solution with “wait” between jobs works incorrectly for case where two different machines (which supposed to run in parallel) generate substeps.

We refer to this idea as “fail fast”, we want to do it, but there are some complexities. Thanks for the suggestion, we’ll update if there is progress.

2 Likes