Commit 312e4e42 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason

Clarify when rules:allow_failure is applied

parent d0064ea8
......@@ -1038,6 +1038,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`
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
job:
script: "echo Hello, Rules!"
......@@ -3478,7 +3482,7 @@ If `GIT_FETCH_EXTRA_FLAGS` is:
- Not specified, `git fetch` flags default to `--prune --quiet` along with the default flags.
- Given the value `none`, `git fetch` is executed only with the default flags.
For example, the default flags are `--prune --quiet`, so you can make `git fetch` more verbose by overriding this with just `--prune`:
```yaml
......
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