diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-10-15 19:46:01 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-10-15 19:46:01 -0400 |
commit | 6fe2a679a799c0914b8c32e011343939800c5480 (patch) | |
tree | 2a1e01a83fa5bf9eb964b16d79219943a3d0ef3d | |
parent | 62377d17548ca41b4c563ec1c7331df97f1054ca (diff) | |
download | gitlab-ce-6fe2a679a799c0914b8c32e011343939800c5480.tar.gz |
Update CI YAML docswhen-syntax
-rw-r--r-- | doc/ci/yaml/README.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index d37e616bbac..ea8f72bc135 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -200,9 +200,10 @@ The above specification will make sure that `job` is built by a runner that have ### when `when` is used to implement jobs that are run in case of failure or despite the failure. -The `when` can be set to one of the following values: -1. `on_success` - execute build only when all builds from prior stages succeeded. This is default. -1. `on_failure` - execute build only when at least one of the build from prior stages failed. +`when` can be set to one of the following values: + +1. `on_success` - execute build only when all builds from prior stages succeeded. This is the default. +1. `on_failure` - execute build only when at least one build from prior stages failed. 1. `always` - execute build despite the status of builds from prior stages. ``` @@ -250,4 +251,4 @@ Each instance of GitLab CI has an embedded debug tool called Lint. You can find the link to the Lint in the project's settings page or use short url `/lint`. ## Skipping builds -There is one more way to skip all builds, if your commit message contains tag [ci skip]. In this case, commit will be created but builds will be skipped
\ No newline at end of file +There is one more way to skip all builds, if your commit message contains tag [ci skip]. In this case, commit will be created but builds will be skipped |