Fail the pipeline immediately if one of the jobs fail
Problem to solve
We should allow the user to configure a pipeline in such a way that when one job fails it cancels all others.
Proposal
Its should be optional and off by default.
Possibly a GitLab CI yaml level configuration.
What does success look like, and how can we measure that?
All other jobs are cancelled if one job fails.
Links / references
- TravisCI is considering a similar feature - https://github.com/travis-ci/travis-ci/issues/2062
- Jenkins has a feature called
failFast
- https://jenkins.io/doc/book/pipeline/syntax/#parallel