Skip to content
Snippets Groups Projects
Commit a8c40687 authored by Marcin Zajączkowski's avatar Marcin Zajączkowski
Browse files

Replace "/" with "-" in cache key

As a cache zip file with "/" upload seems to fail with 500 Internal Server Error.
parent 597bc292
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -276,7 +276,7 @@ To enable per-job and per-branch caching:
 
```yaml
cache:
key: "$CI_JOB_NAME/$CI_COMMIT_REF_NAME"
key: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
untracked: true
```
 
Loading
Loading
@@ -284,7 +284,7 @@ To enable per-branch and per-stage caching:
 
```yaml
cache:
key: "$CI_JOB_STAGE/$CI_COMMIT_REF_NAME"
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_NAME"
untracked: true
```
 
Loading
Loading
@@ -293,7 +293,7 @@ If you use **Windows Batch** to run your shell scripts you need to replace
 
```yaml
cache:
key: "%CI_JOB_STAGE%/%CI_COMMIT_REF_NAME%"
key: "%CI_JOB_STAGE%-%CI_COMMIT_REF_NAME%"
untracked: true
```
 
Loading
Loading
@@ -302,7 +302,7 @@ If you use **Windows PowerShell** to run your shell scripts you need to replace
 
```yaml
cache:
key: "$env:CI_JOB_STAGE/$env:CI_COMMIT_REF_NAME"
key: "$env:CI_JOB_STAGE-$env:CI_COMMIT_REF_NAME"
untracked: true
```
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment