You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/05/19 09:20:51 UTC
[maven] branch MNG-6411 updated: try to use Java 7 with TLS 1.2
support *& unlimited security*
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch MNG-6411
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/MNG-6411 by this push:
new 3237156 try to use Java 7 with TLS 1.2 support *& unlimited security*
3237156 is described below
commit 3237156e8acbdb70a2736b803da6efe5df35cf0b
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat May 19 11:20:49 2018 +0200
try to use Java 7 with TLS 1.2 support *& unlimited security*
---
Jenkinsfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 96b8899..825fc1c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -20,7 +20,7 @@
properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: env.BRANCH_NAME=='master'?'10':'5'))])
def buildOs = 'linux'
-def buildJdk = '8'
+def buildJdk = 'jdk-1.7.0_79 (unlimited security)'
def buildMvn = '3.5.0'
def tests
def CORE_IT_PROFILES='run-its,embedded'
@@ -36,7 +36,7 @@ node(jenkinsEnv.labelForOS(buildOs)) {
def WORK_DIR=pwd()
stage('Build / Unit Test') {
- String jdkName = jenkinsEnv.jdkFromVersion(buildOs, buildJdk)
+ String jdkName = buildJdk //jenkinsEnv.jdkFromVersion(buildOs, buildJdk)
String mvnName = jenkinsEnv.mvnFromVersion(buildOs, buildMvn)
withMaven(jdk: jdkName, maven: mvnName, mavenLocalRepo:"${WORK_DIR}/.repository", options:[
artifactsPublisher(disabled: false),
@@ -47,7 +47,7 @@ node(jenkinsEnv.labelForOS(buildOs)) {
invokerPublisher(),
pipelineGraphPublisher()
]) {
- sh "mvn clean verify -B -U -e -fae -V -Dmaven.test.failure.ignore=true"
+ sh "mvn clean verify -B -U -e -fae -V -Dmaven.test.failure.ignore=true -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
}
dir ('apache-maven/target') {
sh "mv apache-maven-*-bin.zip apache-maven-dist.zip"
--
To stop receiving notification emails like this one, please contact
hboutemy@apache.org.