Difference between revisions of "GitLab environment variables"
Jump to navigation
Jump to search
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
* https://docs.gitlab.com/ee/ci/variables/#list-all-environment-variables | * https://docs.gitlab.com/ee/ci/variables/#list-all-environment-variables | ||
+ | |||
+ | |||
+ | GitLab Predefined variables: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html | ||
+ | [[CI_COMMIT_REF_NAME]] | ||
+ | [[CI_COMMIT_REF_SLUG]]: CI_COMMIT_REF_NAME in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names | ||
+ | [[CI_COMMIT_SHORT_SHA]] | ||
Line 5: | Line 11: | ||
* <code>[[env]]</code> | * <code>[[env]]</code> | ||
* <code>[[export]]</code> | * <code>[[export]]</code> | ||
+ | * [[GitLab environments]] | ||
+ | * <code>[[GitLab CI: variables:|variables:]]</code> | ||
== See also == | == See also == | ||
+ | * {{GitLab variables}} | ||
* {{GitLab}} | * {{GitLab}} | ||
[[Category:GitLab]] | [[Category:GitLab]] |
Latest revision as of 14:08, 31 October 2022
GitLab Predefined variables: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
CI_COMMIT_REF_NAME CI_COMMIT_REF_SLUG: CI_COMMIT_REF_NAME in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names CI_COMMIT_SHORT_SHA
Related[edit]
See also[edit]
- GitLab variables, GitLab environment variables
- GitLab: Install GitLab, Upgrade GitLab Gitlab runner (changelog),
gitlab.rb, .gitlab/, gitlab-ci.yml
,gitlab-ctl, gitlab-rake, gitlab-backup, gitlab-rails
, GitLab editions, GitLab Security Dashboards, GitLab environments, GitLab environment variables, Auto DevOps, permissions, GitLab Pages,gitlab-rails
, GitLab scheduled pipelines, GitLab logs, GitLab changelog , GitLab Release CLI, GitLab Omnibus, GitLab Advanced Search, GitLab container registry, GitLab infrastructure registry
Advertising: