summaryrefslogtreecommitdiff
path: root/doc/ci
diff options
context:
space:
mode:
authorStefan Hanreich <stefanhani@gmail.com>2017-05-09 18:34:14 +0200
committerStefan Hanreich <stefanhani@gmail.com>2017-06-18 23:57:22 +0200
commitf4c05e038079759ff70473036391fc023ce4b7d3 (patch)
treeba7d8e99d3b23a9787ca1cdfac7ea1a6d7a124e8 /doc/ci
parentf01c5d8627ce069e84f04e587ab59ebbf7e8ac88 (diff)
downloadgitlab-ce-f4c05e038079759ff70473036391fc023ce4b7d3.tar.gz
no trailing / leading hyphens in CI_COMMIT_REF_SLUG. Fixes #32035
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 |