summaryrefslogtreecommitdiff
path: root/doc/ci
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-07-04 17:19:59 +0000
committerRémy Coutable <remy@rymai.me>2017-07-04 17:19:59 +0000
commitb036d50ca1cf5f5c105b84b7c1f622bf2483828d (patch)
tree3582e3583b93002f9feb1d9a61a2b58aba46baa5 /doc/ci
parent58990f1b7f86f3ab18ab6fb20dfa664179e3d738 (diff)
parentf6314bdba5feff48a68e0323744ac635220ff635 (diff)
downloadgitlab-ce-b036d50ca1cf5f5c105b84b7c1f622bf2483828d.tar.gz
Merge branch 'feature/no-hypen-at-end-of-commit-ref-slug' into 'master'
no trailing / leading hyphens in CI_COMMIT_REF_SLUG. Closes #32035 See merge request !11218
Diffstat (limited to 'doc/ci')
-rw-r--r--doc/ci/variables/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md
index d1f9881e51b..eef96f3194f 100644
--- a/doc/ci/variables/README.md
+++ b/doc/ci/variables/README.md
@@ -37,7 +37,7 @@ future GitLab releases.**
|-------------------------------- |--------|--------|-------------|
| **CI** | all | 0.4 | Mark that job is executed in CI environment |
| **CI_COMMIT_REF_NAME** | 9.0 | all | The branch or tag name for which project is built |
-| **CI_COMMIT_REF_SLUG** | 9.0 | all | `$CI_COMMIT_REF_NAME` lowercased, shortened to 63 bytes, and with everything except `0-9` and `a-z` replaced with `-`. Use in URLs and domain names. |
+| **CI_COMMIT_REF_SLUG** | 9.0 | all | `$CI_COMMIT_REF_NAME` lowercased, 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_SHA** | 9.0 | all | The commit revision for which project is built |
| **CI_COMMIT_TAG** | 9.0 | 0.5 | The commit tag name. Present only when building tags. |
| **CI_DEBUG_TRACE** | all | 1.7 | Whether [debug tracing](#debug-tracing) is enabled |