Hi,
By default Jenkins uses a global Maven repository which is accessed in parallel 
by multiple jobs running in dedicated VMs. To prevent race conditions one 
should probably configure one of the distributed named locks outlined in 
https://maven.apache.org/resolver/maven-resolver-named-locks/index.html 
<https://maven.apache.org/resolver/maven-resolver-named-locks/index.html>.
Is there any recommendation which one to pick and also some concrete hints how 
to set that up with Jenkins (Pipelines, leveraging 
https://www.jenkins.io/doc/pipeline/steps/pipeline-maven/ 
<https://www.jenkins.io/doc/pipeline/steps/pipeline-maven/>)

Is ASF Jenkins using named locks already?
Thanks for any pointers

Konrad

Reply via email to