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 <[email protected]>
AuthorDate: Tue Mar 22 20:58:10 2022 +1000

    we need this for both maven and surefire fork
    
    Signed-off-by: Olivier Lamy <[email protected]>
---
 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()) {

Reply via email to