You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2020/06/01 10:35:03 UTC

[maven] 16/29: use same local repo to build core

This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch it_runs
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 37cb2d13a171bc99f30808a0c7bc440635ac2ed7
Author: olivier lamy <ol...@apache.org>
AuthorDate: Mon Jun 1 16:14:13 2020 +1000

    use same local repo to build core
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 Jenkinsfile.its | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile.its b/Jenkinsfile.its
index 2f7982a..b5abecf 100644
--- a/Jenkinsfile.its
+++ b/Jenkinsfile.its
@@ -9,7 +9,7 @@ pipeline {
     stage("Build Maven Core") {
       steps {
         withMaven(jdk: 'JDK 1.8 (latest)', maven: 'Maven 3.6.3',publisherStrategy: 'EXPLICIT'){
-          sh "mvn -V clean install -P versionlessMavenDist"
+          sh "mvn -V clean install -P versionlessMavenDist -Dmaven.repo.local=${env.WORKSPACE}/repo"
         }
 //        stash name: 'apache-maven-bin.zip', includes: 'apache-maven/target/apache-maven-bin.zip'
 //        stash name: 'wrapperDistroDir', includes: 'apache-maven/target/**'