This is actually unsafe. You take the risk to corrupt the "maven local repository" (badly named, think more about it like a cache). And there's also potential issues of having a stale dependency installed in the local cache/repository (and if it's not a snapshot, it will never be downloaded again unless you delete it).
In your case, as you're likely to have many executors per slave (which btw i wouldn't recommend) the probability to corrupt the cache is even bigger.
Then, on top of that, using NFS increases the risk even more, since (your executors count) processes will access the cache concurrently.
Having a 'private' repository and cleaning it up on a regular basis is in fact simple and quite straightforward. The only downside is the disk space, but as having more disks is certainly cheaper than spending time to debug corrupted repository issues.
Hth
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Definitely yes. All our machines (Jenkins slaves, developers boxes...) are configured with the right settings to go compulsorily through our nexus server (as we have an authenticated http proxy set up, this would generally fail if you don't).
Cheers