Closed yizhishang closed 5 years ago
how to cache and share
I really don't recommend cache sharing between projects. But if you think you must, here is the way to do it: https://github.com/Drillster/drone-volume-cache/blob/master/DOCS.md#using-the-cache_key-option Basically you configure all projects that share the same cache to use the same cache key.
Let me know if this works for you.
in fact, i want all my java projects use one maven repository cache
That is entirely possible. You'll have to use the same cache key in all your java projects.
I'm assuming this is fixed now, if not you can re-open it.
my java project is yizhishang/k8s-demo, i want to cache the maven repository during drone, and even i want to share local maven repository to all the project, so i use "ln -s /mnt/MavenRepo /tmp/cache/yizhishang/k8s-demo/". go errors!!