`allow_failure` action for pipeline rules
Problem to solve
Building on flexible rules for CI pipelines, some teams will need a way to allow certain rules to fail without causing a pipeline failure. As of the MVC, allow_failure:
is only settable at the job level, not per-rule.
Proposal
We will introduce a new rule action called allow_failure
. This action defines the behavior of job after the rule is matched, allowing us to conditionally set allowed to fail in given conditions. This replaces job-level allow_failure:
. The default value is false
.
Example:
rules:
- changes: *.doc
allow_failure: true