Artifacts No files to upload
We faced a problem descripted in reference issue after upgrading runners to 15.11.0 in our own instance and forced to rollback again to version 15.4.0.
ref: gitlab-org/charts/gitlab-runner#437 (closed)
my comment: gitlab-org/charts/gitlab-runner#437 (comment 1321355465)
Steps to reproduce
".version.sh" script sets $VERSION variable and also print version to console. The CI yaml below works on 15.4.0 but gives the error in higher versions.
.gitlab-ci.yml
stages:
- publish
test-win10-x64:
stage: publish
before_script:
- ". .version.sh"
script:
- echo $VERSION
- echo "asd" > test-$VERSION-win10-x64
- ls
artifacts:
name: "test-$(. .version.sh)-win10-x64"
paths:
- "test-$(. .version.sh)-win10-x64"
Actual behavior
Expected behavior
Artifacts should upload without any problem.
Used GitLab Runner version
It works with 15.4.0 but gives the error in higher versions. I tried all of versions after 15.4.0.