Failed job in stage should terminate all jobs in same stage
We have a dozen long-running jobs in the same 'build' stage (followed by a test/deploy stage). If one of these jobs fails early on, the other jobs continue running, which is a waste of resources. Is there a way to terminate the entire pipeline/stage upon failure? Thank you