Difference between revisions of "GitLab environment variables"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
GitLab Predefined variables: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html | GitLab Predefined variables: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html | ||
[[CI_COMMIT_REF_NAME]] | [[CI_COMMIT_REF_NAME]] | ||
− | [[CI_COMMIT_REF_SLUG]] | + | [[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]] | [[CI_COMMIT_SHORT_SHA]] | ||
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: