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
be2bd977
Commit
be2bd977
authored
Jun 24, 2019
by
Marcia Ramos
Committed by
Evan Read
Jun 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: link to predefined env variables reference more evident
parent
f89a33c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
doc/ci/variables/README.md
doc/ci/variables/README.md
+5
-3
No files found.
doc/ci/variables/README.md
View file @
be2bd977
...
...
@@ -27,8 +27,7 @@ CI/CD's pipelines. Using variables means no hardcoded values.
### Predefined environment variables
GitLab CI/CD has a default set of
[
predefined variables
](
predefined_variables.md
)
GitLab CI/CD has a
[
default set of predefined variables
](
predefined_variables.md
)
which can be used without any specification needed.
You can call issues numbers, user names, branch names,
pipeline and commit IDs, and much more.
...
...
@@ -36,7 +35,7 @@ pipeline and commit IDs, and much more.
Predefined environment variables are the ones that GitLab
provides out of the box for the local environment of the Runner.
GitLab reads the
.gitlab-ci.yml
file, sends the information
GitLab reads the
`.gitlab-ci.yml`
file, sends the information
to the Runner (which runs the script commands), under which
the variables are exposed.
...
...
@@ -44,6 +43,9 @@ For example, two jobs under the same pipeline can share the same
`CI_PIPELINE_ID`
variable, but each one has its own
`CI_JOB_ID`
variable.
NOTE:
**Note:**
Find here the full
[
**predefined variables reference table**
](
predefined_variables.md
)
.
### Custom environment variables
When your use case requires a specific variable, you can
...
...
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