Skip to content

variable expansion fails for artifacts:name since 15.1

variable expansion fails for artifacts:name since gitlab runner 15.1

    artifacts:
      when: always
      name: "%CI_JOB_NAME%_%CI_COMMIT_REF_SLUG%"
      paths:
      - README.md

the artifact is called ___.zip, should be something like testjob_testartifact.zip

works fine of gitlab 11.10.1, 12,10.2, 13.1.1, 13,7,0, 14.2.0, 15.0.0 does not work on 15.10.1, 16.2.1, 16.11.0