diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-03-13 09:35:40 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-03-13 09:35:40 +0200 |
commit | de7c3316b08e7763ac860503578e7fa4c78d2b9d (patch) | |
tree | b089907fe67bf25b7c3937eaae9cb1f66d5bbd93 /doc/ci | |
parent | 372abbe7f95d89290d46ef356fc13cc0a886c317 (diff) | |
download | gitlab-ce-de7c3316b08e7763ac860503578e7fa4c78d2b9d.tar.gz |
Add hidden jobs
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/yaml/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 244cec71c8c..5f3a53dcf8e 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -631,6 +631,24 @@ rspec: The cache is provided on best effort basis, so don't expect that cache will be always present. For implementation details please check GitLab Runner. +## Hidden jobs + +>**Note:** +Introduced in GitLab 8.6 and GitLab Runner v1.1.1. + +Jobs that start with a dot (`.`) will be not processed by GitLab CI. You can +use this feature to ignore jobs, or use the +[special YAML features](#special-yaml-features) and transform the hidden jobs +into templates. + +In the following example, `.job_name` will be ignored: + +```yaml +.job_name: + script: + - rake spec +``` + ## Special YAML features It's possible to use special YAML features like anchors (`&`), aliases (`*`) |