For our use case the purging is not really necessary, i was just looking to
reduce the duplication of common dependencies and maven plugins. Also there
is a repo cleaner plugin, that allows you purge by wildcard. I'm wondering
if this is compatible with the per-executor-repo.
Jorg
On Wednesda
Hi,
I'm using this option myself, and I have written a quick shell script
that will frequently purge the content of those per executor repo,
based on what has been deployed to our Nexus repository (it only erase
our old SNAPSHOTs).
I can share it if needed, but beware this is really specific to o
yes i can see it is in 1.448, too bad LTS is at 1.447.1 :-|
I'll have to wait a bit then to be able to use this feature, but it
definitely looks promising. Even with 20 executors i should already be able
to cut the number of local m2 repos significantly.
Thanks !
Jorg
On Wednesday, May 16, 20
Recently a repo per executor option has been added.
That could help you
2012/5/16 Jorg Heymans :
> Hi,
>
> For a large (100+ m2 jobs) Jenkins instance, what are my options to control
> the diskspace taken up by the jobs' private m2 repos ? Since maven does not
> handle access to its own local repo
You can (in a one of the latest Jenkins) set the private repo to be per
executor.
You can then schedule a job to run on that executor periodically to rm –fr
privaterepo.
This has drawbacks as an “mvn install” from one job is visible to all other
jobs on the same executor, whereas you really onl