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:
commit
e78c6a340e
|
@ -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 `$$`):
|
||||
|
|
|
@ -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].
|
||||
|
|
Loading…
Reference in New Issue