Allow to use CI_JOB_NAME, CI_PROJECT_PATH and other predefined variables within a cache key
What does this MR do?
Allows to use CI_JOB_NAME
, CI_PROJECT_PATH
and other predefined environment variables, which may contain :
or /
chars, which a cache key.
Proposed change performs simple key sanitization before using it for construction of a cache file path.
Why was this MR needed?
Without this fix it is impossible to use CI_JOB_NAME
inside the cache key on Windows at all.
What are the relevant issue numbers?
Fixes #3566 (closed).
Edited by 🤖 GitLab Bot 🤖