Merge branch '30337-incorrect-example-for-variables' into 'master'

Resolve "Documentation of `.gitlab-ci.yml` states incorrect example for variables"

Closes #30337

See merge request !11895
This commit is contained in:
Grzegorz Bizon 2017-06-04 06:14:43 +00:00
commit e78c6a340e
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ global defined variables in your job, define an empty array:
```yaml
job_name:
variables: []
variables: {}
```
You are able to use other variables inside your variable definition (or escape them with `$$`):

View File

@ -438,7 +438,7 @@ in your job, define an empty array:
```yaml
job_name:
variables: []
variables: {}
```
Job variables priority is defined in the [variables documentation][variables].