Quantcast

clean m2 repo when using repository-per-executor strategy

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

clean m2 repo when using repository-per-executor strategy

Jorg Heymans-4
Hi,

Since recently in LTS we can configure a local maven repository per executor. This works beautifully and has saved us about 20G of space on our CI server making infra happy :)

However we noticed that the m2 repo cleaner plugin (https://wiki.jenkins-ci.org/display/JENKINS/M2+Repository+Cleanup+Plugin) is not taking this setting into account. From the plugin page i see that the last release happend quite a while ago which does not give me much hope of getting this fixed. Does anyone have other ideas how to do this ? I noticed another plugin  https://wiki.jenkins-ci.org/display/JENKINS/Maven+Repo+Cleaner+Plugin , but that has a different approach with a scheduled execution. We just want to do a purge before each build.

Thanks for any thoughts
Jorg
Loading...