You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/09/22 12:30:03 UTC
[maven] branch reproducible updated: again
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch reproducible
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/reproducible by this push:
new b73005f again
b73005f is described below
commit b73005f88616891011827c23b265128d02476582
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Sep 22 14:29:58 2019 +0200
again
---
Jenkinsfile | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 10bac5f..ff855ab 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -78,6 +78,16 @@ for (String os in runITsOses) {
String mvnName = jenkinsEnv.mvnFromVersion(os, "${runITsMvn}")
echo "OS: ${os} JDK: ${jdk} => Label: ${osLabel} JDK: ${jdkName}"
+ def cmd = [
+ 'mvn',
+ 'verify',
+ '-DskipTests'
+ ]
+ if (jdk == '7') {
+ // Java 7u80 has TLS 1.2 disabled by default: need to explicitely enable
+ cmd += '-Dhttps.protocols=TLSv1.2'
+ }
+
String stageId = "${os}-jdk${jdk}"
String stageLabel = "Rebuild ${os.capitalize()} Java ${jdk}"
runITsTasks[stageId] = {
@@ -95,7 +105,11 @@ for (String os in runITsOses) {
invokerPublisher(),
pipelineGraphPublisher()
]) {
- sh "mvn clean verify -B -U -e -fae -V -DskipTests"
+ if (isUnix()) {
+ sh cmd.join(' ')
+ } else {
+ bat cmd.join(' ')
+ }
}
}
}