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 870d696  Set https.protocols when running with JDK 7
870d696 is described below

commit 870d696a9b1eae80e61fd176c0498a43578a19d6
Author: rfscholte <[email protected]>
AuthorDate: Sun Jul 1 15:07:02 2018 +0200

    Set https.protocols when running with JDK 7
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 8f917c7..b775de8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -92,7 +92,7 @@ for (String os in runITsOses) {
                             junitPublisher(ignoreAttachments: false)
                         ]) {
                             String cmd = "${runITscommand} 
-DmavenDistro=$WORK_DIR/apache-maven-dist.zip -Dmaven.test.failure.ignore=true"
-                            if (jdk == '7') {
+                            if (stageId.endsWith('-jdk7')) {
                               // Java 7u80 has TLS 1.2 disabled by default: 
need to explicitly enable
                               cmd = "${cmd} -Dhttps.protocols=TLSv1.2"
                             }

Reply via email to