Commit f4b02d75 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents b5c307d1 d6b9f61d
...@@ -27,8 +27,7 @@ CI/CD's pipelines. Using variables means no hardcoded values. ...@@ -27,8 +27,7 @@ CI/CD's pipelines. Using variables means no hardcoded values.
### Predefined environment variables ### Predefined environment variables
GitLab CI/CD has a default set of GitLab CI/CD has a [default set of predefined variables](predefined_variables.md)
[predefined variables](predefined_variables.md)
which can be used without any specification needed. which can be used without any specification needed.
You can call issues numbers, user names, branch names, You can call issues numbers, user names, branch names,
pipeline and commit IDs, and much more. pipeline and commit IDs, and much more.
...@@ -36,7 +35,7 @@ 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 Predefined environment variables are the ones that GitLab
provides out of the box for the local environment of the Runner. 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 to the Runner (which runs the script commands), under which
the variables are exposed. the variables are exposed.
...@@ -44,6 +43,9 @@ For example, two jobs under the same pipeline can share the same ...@@ -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` `CI_PIPELINE_ID` variable, but each one has its own `CI_JOB_ID`
variable. variable.
NOTE: **Note:**
Find here the full [**predefined variables reference table**](predefined_variables.md).
### Custom environment variables ### Custom environment variables
When your use case requires a specific variable, you can When your use case requires a specific variable, you can
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment