You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/07/16 20:27:29 UTC
[camel] 01/05: Temporary disable JDK 9 build
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch java-10-test
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7fb81933e00e44ebf34e820cbaffcc1071d25fd4
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Fri Jul 13 11:47:05 2018 +0200
Temporary disable JDK 9 build
---
Jenkinsfile.daily | 22 ++--------------------
1 file changed, 2 insertions(+), 20 deletions(-)
diff --git a/Jenkinsfile.daily b/Jenkinsfile.daily
index f49f417..666df82 100644
--- a/Jenkinsfile.daily
+++ b/Jenkinsfile.daily
@@ -23,7 +23,7 @@ def BUILD_JDK_NAME = env.JDK_NAME ?: 'JDK 1.8 (latest)'
def MAVEN_PARAMS = "-U -B -e -fae -V -Dmaven.repo.local=${LOCAL_REPOSITORY} -Dnoassembly -Dmaven.compiler.fork=true -Dsurefire.rerunFailingTestsCount=2"
-def jdk9_result, jdk10_result, jdk11_result
+def jdk10_result, jdk11_result
pipeline {
@@ -53,24 +53,6 @@ pipeline {
}
}
- stage('Test JDK 9') {
- tools {
- jdk 'JDK 1.9 (latest)'
- }
- steps {
- script {
- jdk9_result = sh script: "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true test", returnStatus: true
- }
- }
- post {
- always {
- junit allowEmptyResults: true, testResults: '**/target/surefire-reports/*.xml'
- junit allowEmptyResults: true, testResults: '**/target/failsafe-reports/*.xml'
- sh "find . -path '*/target/surefire-reports/*' -delete -o -path '*/target/failsafe-reports/*' -delete"
- }
- }
- }
-
stage('Test JDK 10') {
tools {
jdk 'JDK 10 (latest)'
@@ -112,7 +94,7 @@ pipeline {
post {
always {
script {
- currentBuild.result = jdk9_result == 0 && jdk10_result == 0 && jdk11_result == 0 ? 'SUCCESS' : 'FAILURE'
+ currentBuild.result = jdk10_result == 0 && jdk11_result == 0 ? 'SUCCESS' : 'FAILURE'
}
}
}