Cache not available depending of the runner id
Hello, I searched quite a while and even ugraded gitlab to 9.0.2 + runner 1.11.2.
I got cache activated on a folder build
containing files that maven downloads.
prebuild:
stage: prebuild
script:
- pwd && ls -la build && mvn -B package -Dmaven.repo.local=build -f pipelines
- ls -la build
cache:
key: maven
paths:
- build/
build:
stage: build
script:
- pwd && ls -la build && mvn -B package -Dmaven.repo.local=build -f pipelines
- ls -la build
cache:
key: maven
paths:
- build/
Depending on which runner catches the job, I can see the cache, or no file. How can I tell all runners to share the same cache folder?
If I try to rerun multiple time the same tasks, I can see that runner gitlab-runner-wrnwk
get the cache well,
While all 5 other runners are failing.
Anything obvious I am missing?
Thank you for your help! Greg.