Commit 0f800a5c authored by Grzegorz Bizon's avatar Grzegorz Bizon

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
parents 5e3076f2 cc11a06c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment