Affects Version/s: None
Fix Version/s: None
Being able to specify the local Maven repository location is crucial in Jenkins to avoid concurrency issues.
For regular Jenkins Maven builds, Jenkins' "Maven Project Configuration" supports a "Local Maven Repository" setting (Default/Local to the executor/Local to the workspace).
Jenkins Artifactory Plugin doesn't support this kind of setting in its Maven build pipeline steps. The only solution is the pipeline script itself passing Maven's own maven.repo.local property along with the goals (see https://www.jfrog.com/confluence/display/JFROG/Scripted+Pipeline+Syntax ).
This allows us to write pipelines that avoid concurrency problems but still has drawbacks:
- There's no way to protect all pipelines that neglect to override the maven.repo.local property, from concurrency issues.
- There's no support of the "Local to the executor" model, which addresses concurrency while being more conservative of disk space (see https://firstname.lastname@example.org/msg141457.html)
Can a global default setting be added to Jenkins Artifactory Plugin?