Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
846b478d
Commit
846b478d
authored
Jun 04, 2017
by
Sébastien
Committed by
Grzegorz Bizon
Jun 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Documentation of `.gitlab-ci.yml` states incorrect example for variables"
parent
39340e42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
doc/ci/variables/README.md
doc/ci/variables/README.md
+1
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+1
-1
No files found.
doc/ci/variables/README.md
View file @
846b478d
...
@@ -122,7 +122,7 @@ global defined variables in your job, define an empty array:
...
@@ -122,7 +122,7 @@ global defined variables in your job, define an empty array:
```
yaml
```
yaml
job_name
:
job_name
:
variables
:
[]
variables
:
{}
```
```
You are able to use other variables inside your variable definition (or escape them with
`$$`
):
You are able to use other variables inside your variable definition (or escape them with
`$$`
):
...
...
doc/ci/yaml/README.md
View file @
846b478d
...
@@ -438,7 +438,7 @@ in your job, define an empty array:
...
@@ -438,7 +438,7 @@ in your job, define an empty array:
```
yaml
```
yaml
job_name
:
job_name
:
variables
:
[]
variables
:
{}
```
```
Job variables priority is defined in the
[
variables documentation
][
variables
]
.
Job variables priority is defined in the
[
variables documentation
][
variables
]
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment