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

commit 0e1cc11850d3574415d5ea5156495211ba863787
Author: rfscholte <[email protected]>
AuthorDate: Sun Jul 1 13:10:28 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 4d16ccc..8f917c7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -91,7 +91,7 @@ for (String os in runITsOses) {
                         withMaven(jdk: jdkName, maven: mvnName, 
mavenLocalRepo:"${WORK_DIR}/it-local-repo", options:[
                             junitPublisher(ignoreAttachments: false)
                         ]) {
-                            def cmd = "${runITscommand} 
-DmavenDistro=$WORK_DIR/apache-maven-dist.zip -Dmaven.test.failure.ignore=true"
+                            String 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 explicitly enable
                               cmd = "${cmd} -Dhttps.protocols=TLSv1.2"

Reply via email to