on-internet
← Community

Caching Maven dependencies in Gitlab-CI correctly

Stack Overflow ·

I have configured and working following setup gitlab-ci, which uses docker-machine runner and uploads cache to S3 maven build with configured caching caching correctly loads and uploads on each job But the problem is, that every time I run mvn install, something in the local maven repository changes (I assume it updates pom metadata) and gitlab runner keeps uploading new versions of the cache, on every single build. It is still faster and more reliable to use this "busted" cache, than to download the deps from internet every time, but the upload can take a long time and I would like to shave o

Comments

Sign in or sign up to comment and upvote.

No comments yet.