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 a2ee122e3cacbadc4ea09d0685ddc41a48f5f52b
Author: olivier lamy <[email protected]>
AuthorDate: Mon Jun 1 12:39:58 2020 +1000

    build core stash, get it source unstash
    
    Signed-off-by: olivier lamy <[email protected]>
---
 Jenkinsfile.its | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile.its b/Jenkinsfile.its
index 4b657ea..d907754 100644
--- a/Jenkinsfile.its
+++ b/Jenkinsfile.its
@@ -6,9 +6,22 @@ pipeline {
     timeout(time: 180, unit: 'MINUTES')
   }
   stages {
+    stage("Build Maven Core") {
+      steps {
+        withMaven(jdk: 'JDK 1.8 (latest)', maven: 'Maven 3.6.3'){
+          sh "mvn -V clean install -P versionlessMavenDist"
+        }
+        stash name: 'apache-maven-bin.zip', includes: 
'apache-maven/target/apache-maven-bin.zip'
+        stash name: 'wrapperDistroDir', includes: 'apache-maven/target/**'
+        stash name: 'mavenWrapper', includes: 
'maven-wrapper/target/maven-wrapper.jar'
+      }
+    }
     stage( "Checkout Maven Integration Testing" ) {
       steps {
         git url: "https://github.com/apache/maven-integration-testing.git";, 
branch: "master"
+        unstash name: 'apache-maven-bin.zip'
+        unstash name: 'wrapperDistroDir'
+        unstash name: 'mavenWrapper'
         sh "ls -lrt"
       }
     }

Reply via email to