Hello,
I have problem with using CI/CD variable in arifacts/paths. I have variable APP_BUILD_FOLDER defined on project level with value “edrewe-connector-component/target”.
Following code does not work on gitlab runner version 15.8.0, older versions for example 15.7.1 are ok.
...
artifacts:
paths:
- "${APP_BUILD_FOLDER}/*.jar"
expire_in: 1 week
...
Output on version 15.8.0:
WARNING: ${APP_BUILD_FOLDER}/*.jar: no matching files
ERROR: No files to upload
Output on version 15.7.1
Uploading artifacts...
edrewe-connector-component/target/*.jar: found 1 matching files and directories
If I replace variable with its content pipeline is ok, so it looks to me variables used in artifact/paths are not correctly expanded in version 15.8.0. Anyone else experiencing this issue?
Thank you for alll answers in advance.
BR,
Martin