aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2019-08-29 22:09:26 +0200
committerMartin Stockhammer <martin_s@apache.org>2019-08-29 22:09:26 +0200
commit9ea6ed448b13d15ce23abf767517efad2ee3f244 (patch)
treef355b7e73bc051468827d685ac93bb0bf40cc0cf /Jenkinsfile
parent5c413a7e4baf5efa9b6c2d60bf8feaf21bbcf699 (diff)
downloadarchiva-9ea6ed448b13d15ce23abf767517efad2ee3f244.tar.gz
archiva-9ea6ed448b13d15ce23abf767517efad2ee3f244.zip
Changing build to maven 3.5.4
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 69126491d..e3a5335ef 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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"
}
}
}