Difference between revisions of "GitLab environment variables"
Jump to navigation
Jump to search
(Created page with "* https://docs.gitlab.com/ee/ci/variables/#list-all-environment-variables * {{GitLab}}") |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
+ | 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 == | ||
+ | * <code>[[env]]</code> | ||
+ | * <code>[[export]]</code> | ||
+ | * [[GitLab environments]] | ||
+ | * <code>[[GitLab CI: variables:|variables:]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{GitLab variables}} | ||
* {{GitLab}} | * {{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: