Commit 95acdb6a authored by Amy Qualls's avatar Amy Qualls

Merge branch 'docs-clarify-rules-allow-failure' into 'master'

Clarify how rules:allow_failure is applied

See merge request gitlab-org/gitlab!33089
parents 33ccb22e 312e4e42
...@@ -1048,6 +1048,10 @@ You can use [`allow_failure: true`](#allow_failure) within `rules:` to allow a j ...@@ -1048,6 +1048,10 @@ You can use [`allow_failure: true`](#allow_failure) within `rules:` to allow a j
wait for action, without stopping the pipeline itself. All jobs using `rules:` default to `allow_failure: false` wait for action, without stopping the pipeline itself. All jobs using `rules:` default to `allow_failure: false`
if `allow_failure:` is not defined. if `allow_failure:` is not defined.
The rule-level `rules:allow_failure` option overrides the job-level
[`allow_failure`](#allow_failure) option, and is only applied when the job is
triggered by the particular rule.
```yaml ```yaml
job: job:
script: "echo Hello, Rules!" script: "echo Hello, Rules!"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment