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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
c4878a76
Commit
c4878a76
authored
Jun 06, 2017
by
Tor Bechmann Yamamoto-Sørensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update explanation of job-level variable override to fit example
parent
9bc89323
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 @
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
:
...
...
doc/ci/yaml/README.md
View file @
c4878a76
...
@@ -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
:
...
...
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