diff options
author | Lucas Charles <me@lucascharles.me> | 2019-06-18 19:49:35 +0300 |
---|---|---|
committer | Lucas Charles <me@lucascharles.me> | 2019-06-18 19:49:35 +0300 |
commit | d932bfc1c96f74611446b1d9a36f920c1502f742 (patch) | |
tree | 26ceaa68cee46f42e08c67e597af258bfb84e82e | |
parent | 319a44886034276d430df5afe262d5afb806db20 (diff) |
Update CI `retry` docs to clarify when conditionsdocs-patch-70
-rw-r--r-- | doc/ci/yaml/README.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 2759f1c5160..627d95fb49d 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1714,12 +1714,15 @@ Possible values for `when` are: - `always`: Retry on any failure (default). - `unknown_failure`: Retry when the failure reason is unknown. -- `script_failure`: Retry when the script failed. +- `script_failure`: Retry when the script exited with a non-zero code. - `api_failure`: Retry on API failure. - `stuck_or_timeout_failure`: Retry when the job got stuck or timed out. - `runner_system_failure`: Retry if there was a runner system failure (e.g. setting up the job failed). - `missing_dependency_failure`: Retry if a dependency was missing. -- `runner_unsupported`: Retry if the runner was unsupported. +- `runner_unsupported`: Retry if the runner was unsupported. + +NOTE: **Note:** `script_failure` is the only failure reason that can be reported when the job itself has failed. +All other reasons are related to Runner or GitLab internals involved in execution of the job. ### `parallel` |