This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new a97b03a Set https.protocols when running with JDK 7
a97b03a is described below
commit a97b03a5b00d497647710215c574b2507a700cdd
Author: rfscholte <[email protected]>
AuthorDate: Sun Jul 1 10:41:07 2018 +0200
Set https.protocols when running with JDK 7
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index c5f7b1e..4d16ccc 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -93,8 +93,8 @@ for (String os in runITsOses) {
]) {
def cmd = "${runITscommand}
-DmavenDistro=$WORK_DIR/apache-maven-dist.zip -Dmaven.test.failure.ignore=true"
if (jdk == '7') {
- // Java 7u80 has TLS 1.2 disabled by default:
need to explicitely enable
- cmd += ' -Dhttps.protocols=TLSv1.2'
+ // Java 7u80 has TLS 1.2 disabled by default:
need to explicitly enable
+ cmd = "${cmd} -Dhttps.protocols=TLSv1.2"
}
if (isUnix()) {