Difference between revisions of "GitLab environment variables"

From wikieduonline
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

Advertising: