diff options
author | Markus Doits <markus.doits@stellenticket.de> | 2018-09-20 16:25:37 +0200 |
---|---|---|
committer | Markus Doits <markus.doits@stellenticket.de> | 2018-11-07 13:04:03 +0100 |
commit | 48f37a92be9b9b3e21cce6772c147a303a881ca5 (patch) | |
tree | a9bff3fd9c81663a8a15e83a03e3552436d1fe8d /doc | |
parent | 95236f539a2a1734db24226682965164a3db0a8e (diff) | |
download | gitlab-ce-48f37a92be9b9b3e21cce6772c147a303a881ca5.tar.gz |
add a test that checks that retry when values in documentation are valid
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ci/yaml/README.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 58ab0838222..7be00f0bfc8 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1484,6 +1484,14 @@ test: Possible values for `when` are: +<!-- + Please make sure to update `RETRY_WHEN_IN_DOCUMENTATION` array in + `spec/lib/gitlab/ci/config/entry/job_spec.rb` if you change any of + the documented values below. The test there makes sure that all documented + values are really valid as a config option and therefore should always + stay in sync with this documentation. + --> + - `always`: retry on any failure (default) - `unknown_failure`: retry when the failure reason is unknown - `script_failure`: retry when the script failed |