Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
None
-
None
Description
When I use Jenkins to build project I have to make each Job to use its own local repo (a local dir in the workspace) to prevent concurrent build error:
withMaven(
mavenLocalRepo: '.local-m2-repo'
) {
sh 'mvn clean install -P docker,integration-test'
{{ }}}
Besides, I have to cleanup workspace after build to save disk space.
So every time the build starts it have to download all the dependencies and that really cost a lot of time.
So I think it will be nice If maven could share a local repo for dependencies and a separate local repo for current built project.
Then we can save time of download dependencies and also provide isolation to prevent concurrent build error.
Attachments
Issue Links
- is related to
-
MINSTALL-126 localRepositoryPath for install like for install-file
- Open