]> source.dussan.org Git - archiva.git/commitdiff
Changing build to maven 3.5.4
authorMartin Stockhammer <martin_s@apache.org>
Thu, 29 Aug 2019 20:09:26 +0000 (22:09 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Thu, 29 Aug 2019 20:09:26 +0000 (22:09 +0200)
Jenkinsfile
Jenkinsfile-itest

index 69126491dbb820e5a33bb57370b9ee80112c2287..e3a5335ef691438d640e0a628bfe1d4f15770d6a 100644 (file)
@@ -32,7 +32,7 @@ buildJdk = 'JDK 1.8 (latest)'
 buildJdk9 = 'JDK 1.9 (latest)'
 buildJdk10 = 'JDK 10 (latest)'
 buildJdk11 = 'JDK 11 (latest)'
-buildMvn = 'Maven 3.5.2'
+buildMvn = 'Maven 3.5.4'
 //localRepository = ".repository"
 localRepository = "../.maven_repositories/${env.EXECUTOR_NUMBER}"
 mavenOpts = '-Xms1g -Xmx2g -Djava.awt.headless=true'
@@ -95,7 +95,7 @@ pipeline {
                                 // -Dmaven.compiler.fork=true: Do compile in a separate forked process
                                 // -Dmaven.test.failure.ignore=true: Do not stop, if some tests fail
                                 // -Pci-build: Profile for CI-Server
-                                sh "export PATH=$MVN_CMD_DIR:$PATH && mvn clean deploy -B -U -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
+                                sh "mvn clean deploy -B -U -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
                             }
                 }
             }
@@ -136,7 +136,7 @@ pipeline {
                                           options: publishers
                                 )
                                         {
-                                            sh "export PATH=$MVN_CMD_DIR:$PATH && mvn clean install -U -B -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
+                                            sh "mvn clean install -U -B -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
                                         }
                             }
                         }
index aa7d3bb6b3b92e130f704815b6c4a8dd979a6d5f..18e3e74736b44304cf8b0a52f0b3afd2014a4c0b 100644 (file)
@@ -26,7 +26,7 @@
 
 LABEL = 'ubuntu'
 buildJdk = 'JDK 1.8 (latest)'
-buildMvn = 'Maven 3.5.2'
+buildMvn = 'Maven 3.5.4'
 deploySettings = 'archiva-uid-jenkins'
 DOCKERHUB_CREDS = 'c725478f-9125-460a-900f-1da562e51026'
 //localRepository = ".repository"