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
iv
gitlab-ce
Commits
2972a991
Commit
2972a991
authored
Apr 18, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add minor fixes in docs for job-specific variables
parent
2b1c08be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
doc/ci/variables/README.md
doc/ci/variables/README.md
+2
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+5
-10
No files found.
doc/ci/variables/README.md
View file @
2972a991
...
@@ -4,8 +4,9 @@ When receiving a build from GitLab CI, the runner prepares the build environment
...
@@ -4,8 +4,9 @@ When receiving a build from GitLab CI, the runner prepares the build environment
It starts by setting a list of
**predefined variables**
(Environment Variables) and a list of
**user-defined variables**
It starts by setting a list of
**predefined variables**
(Environment Variables) and a list of
**user-defined variables**
The variables can be overwritten. They take precedence over each other in this order:
The variables can be overwritten. They take precedence over each other in this order:
1.
Trigger variables
1.
Secure variables
1.
Secure variables
1.
YAML-defined job-leve variables
1.
YAML-defined job-leve
l
variables
1.
YAML-defined global variables
1.
YAML-defined global variables
1.
Predefined variables
1.
Predefined variables
...
...
doc/ci/yaml/README.md
View file @
2972a991
...
@@ -421,19 +421,14 @@ except master.
...
@@ -421,19 +421,14 @@ except master.
### job variables
### job variables
It is possible to define build variables using a
`variables`
keyword on a job
It is possible to define build variables using a
`variables`
keyword on a job
level. It works basically the same way
like it'
s global-level equivalent but
level. It works basically the same way
as it
s global-level equivalent but
allows you to define
a job
specific build variables.
allows you to define
job-
specific build variables.
When
`variables`
keyword is used on a job level, it can override
global YAML
When
the
`variables`
keyword is used on a job level, it overrides
global YAML
build variables and predefined variables.
build variables and predefined variables.
Build variables priority is defined as follows:
Build variables priority is defined in
[
variables documentation
](
../variables/README.md
)
.
*
predefined variables
*
global YAML variables
*
job YAML variables
*
secure variables
*
trigger variables
### tags
### tags
...
...
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