Commit 35083dc9 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'fix_explanation_of_job_level_variable_override' into 'master'

Update explanation of job-level variable override to fit example

See merge request !11923
parents 4ab1e07f c4878a76
...@@ -120,7 +120,7 @@ The YAML-defined variables are also set to all created ...@@ -120,7 +120,7 @@ The YAML-defined variables are also set to all created
tune them. tune them.
Variables can be defined at a global level, but also at a job level. To turn off Variables can be defined at a global level, but also at a job level. To turn off
global defined variables in your job, define an empty array: global defined variables in your job, define an empty hash:
```yaml ```yaml
job_name: job_name:
......
...@@ -434,7 +434,7 @@ but allows you to define job-specific variables. ...@@ -434,7 +434,7 @@ but allows you to define job-specific variables.
When the `variables` keyword is used on a job level, it overrides the global YAML When the `variables` keyword is used on a job level, it overrides the global YAML
job variables and predefined ones. To turn off global defined variables job variables and predefined ones. To turn off global defined variables
in your job, define an empty array: in your job, define an empty hash:
```yaml ```yaml
job_name: job_name:
......
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