GitLab CI: Artifact name does swallow static prefix
Summary
What I am trying to do is to add a static prefix to the artifact name like so:
artifacts:
name: my-static-prefix_${CI_COMMIT_REF_NAME}_${CI_COMMIT_SHA}
The resulting artifact (for a branch with name feature/artifact-name-test
) is named artifact-name-test_59e4ebbaff0d69eba75a486ee6329951b30f6e6e
instead of my-static-prefix_artifact-name-test_59e4ebbaff0d69eba75a486ee6329951b30f6e6e
I'm pretty sure that this did work in previous versions.
Steps to reproduce
Add a static prefix to the artifact name.
What is the current bug behavior?
A static prefix to the artifact name is dropped entirely.
What is the expected correct behavior?
The static prefix should be part of the artifact name.
Output of checks
This bug happens on GitLab.com