diff options
author | Evan Read <eread@gitlab.com> | 2019-06-24 01:20:29 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-06-24 01:20:29 +0000 |
commit | d6b9f61d4b7d3fa1ad9875289b8b26c77a4f95d9 (patch) | |
tree | 360474eaef52388550cc6e5da42e0b80994176ee | |
parent | f89a33c9d13db824bb4f4618512d82b6c4e6515a (diff) | |
parent | be2bd9775247cd378e8d9557c6fdf6f47293fb7b (diff) | |
download | gitlab-ce-d6b9f61d4b7d3fa1ad9875289b8b26c77a4f95d9.tar.gz |
Merge branch 'docs-variables-reference-improvement' into 'master'
Docs: link to predefined env variables reference more evident
Closes #62845
See merge request gitlab-org/gitlab-ce!29857
-rw-r--r-- | doc/ci/variables/README.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md index df455857dee..eccaab15e9b 100644 --- a/doc/ci/variables/README.md +++ b/doc/ci/variables/README.md @@ -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 |