diff options
author | Steve Azzopardi <sazzopardi@gitlab.com> | 2019-04-23 09:10:03 +0200 |
---|---|---|
committer | Steve Azzopardi <sazzopardi@gitlab.com> | 2019-04-23 09:10:03 +0200 |
commit | 482f03bdd4c827246ba4e2b8aa7415c2b1d47a81 (patch) | |
tree | e93811bd784c4f545a32e2d3b3fe8f907b1396ee | |
parent | dfb2c3784e06684e3d76b0f9b30906ef086b938a (diff) | |
download | gitlab-ce-docs/11253-ci_commit_ref_name-have-no-branch-name.tar.gz |
Specify CI_COMMIT_REF_NAME can have git refdocs/11253-ci_commit_ref_name-have-no-branch-name
Because of merge request pieplines this is more evident since the ref
will be the merge request refs.
closes https://gitlab.com/gitlab-org/gitlab-ee/issues/11253
-rw-r--r-- | doc/ci/variables/predefined_variables.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ci/variables/predefined_variables.md b/doc/ci/variables/predefined_variables.md index 846c539daab..8afc3971e00 100644 --- a/doc/ci/variables/predefined_variables.md +++ b/doc/ci/variables/predefined_variables.md @@ -29,7 +29,7 @@ future GitLab releases.** | `CI_COMMIT_BEFORE_SHA` | 11.2 | all | The previous latest commit present on a branch before a push request. | | `CI_COMMIT_DESCRIPTION` | 10.8 | all | The description of the commit: the message without first line, if the title is shorter than 100 characters; full message in other case. | | `CI_COMMIT_MESSAGE` | 10.8 | all | The full commit message. | -| `CI_COMMIT_REF_NAME` | 9.0 | all | The branch or tag name for which project is built | +| `CI_COMMIT_REF_NAME` | 9.0 | all | The branch/tag/ref 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 `-`. 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_SHORT_SHA` | 11.7 | all | The first eight characters of `CI_COMMIT_SHA` | |