mirror of https://github.com/apache/maven.git
Set https.protocols when running with JDK 7
This commit is contained in:
parent
a97b03a5b0
commit
0e1cc11850
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue