summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-11-28 11:41:25 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-11-28 11:41:25 +0000
commit0f800a5c0532508c84cee24bf44a4b9ce68168a2 (patch)
tree44431608522bc3856a6345027a32325d4fb327f0
parent5e3076f2d7fdb8f077cf9d951e55ed9798bb197e (diff)
parentcc11a06c6d98dc4e658563f2170c2938cadebb9d (diff)
downloadgitlab-ce-0f800a5c0532508c84cee24bf44a4b9ce68168a2.tar.gz
Merge branch 'docs/remove-defunct-global-var-reset' into 'master'
[docs] Stop documenting defunct global variables reset Closes gitlab-runner#3320 See merge request gitlab-org/gitlab-ce!21447
-rw-r--r--doc/ci/yaml/README.md7
1 files changed, 0 insertions, 7 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index 77406493578..e46b2bbc79c 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -1821,13 +1821,6 @@ These variables can be later used in all executed commands and scripts.
The YAML-defined variables are also set to all created service containers,
thus allowing to fine tune them.
-To turn off global defined variables in a specific job, define an empty hash:
-
-```yaml
-job_name:
- variables: {}
-```
-
Except for the user defined variables, there are also the ones [set up by the
Runner itself](../variables/README.md#predefined-variables-environment-variables).
One example would be `CI_COMMIT_REF_NAME` which has the value of