Re: [cbi-dev] Jenkins - Kubernetes - gradle cache on persistent volume
You should make sure that you use the Maven central mirror that we provide. It is very close to where the build actually happen so the download performance should be better than download from maven central itself (see https://wiki.eclipse.org/Jenkins#Custom_container_on_Jiro
to learn how to do so).
We don't provide persistent volumes (at least for now) to projects that they could use as a cache. This cache would be on a NFS volume and using it would not be that different than downloading from a local maven mirror.
Team Lead - Release Engineering | Eclipse Foundation
📱 (+33) 642 028 039 | 🐦 @mikbarbero
My gradle build jobs are finally working well on my custom container.
The problem I'm facing now is that each time, gradle will re-download every dependencies, which takes 5-6minutes of the overall build. Usually we use gradle cache to avoid this pitfall.
I'm not an expert of k8, but it seems that it is possible to mount a volume that could be persisted after each execution (https://kubernetes.io/docs/concepts/storage/persistent-volumes/
) I would like to locate my gradle cache on that type of volume.
My question is : what kind of persistent volume can we use out of the box from the openshift architecture? should we use an external service if none is provided?
Thanks a lot,
cbi-dev mailing listcbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Description: Message signed with OpenPGP