You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2022/03/22 10:58:37 UTC

[maven] branch maven-3.8.x-fix-its-jdk1.7 updated: we need this for both maven and surefire fork

This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch maven-3.8.x-fix-its-jdk1.7
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/maven-3.8.x-fix-its-jdk1.7 by this push:
     new 77c7b46  we need this for both maven and surefire fork
77c7b46 is described below

commit 77c7b4608d26c19c22bb54dfdf020f34a55f6a5d
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Tue Mar 22 20:58:10 2022 +1000

    we need this for both maven and surefire fork
    
    Signed-off-by: Olivier Lamy <ol...@apache.org>
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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