diff options
author | Clemens Sum <clemens@heypanda.de> | 2018-06-27 08:39:41 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-06-27 13:32:02 +0200 |
commit | 784eb42172edb7e3b0d3820bc622e3aed2a41e8c (patch) | |
tree | 340bdc980607ebc035fbd32745d00f11ad5fd82a | |
parent | 1f31803dc7eb60cc9b130b7cbc2f728afdf3e9c0 (diff) | |
download | gitlab-ce-784eb42172edb7e3b0d3820bc622e3aed2a41e8c.tar.gz |
Add note to README about using $CI_COMMIT_REF_SLUG when using forward-slashes
-rw-r--r-- | doc/ci/yaml/README.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 26dcf67fe23..096b64eb881 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -942,6 +942,11 @@ useful when you'd like to download the archive from GitLab. The `artifacts:name` variable can make use of any of the [predefined variables](../variables/README.md). The default name is `artifacts`, which becomes `artifacts.zip` when downloaded. +NOTE: **Note:** +If your branch-name contains forward slashes +(e.g. `feature/my-feature`) it is advised to use `$CI_COMMIT_REF_SLUG` +instead of `$CI_COMMIT_REF_NAME` for proper naming of the artifact. + To create an archive with a name of the current job: ```yaml |