camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregv...@apache.org
Subject [camel] 01/05: Temporary disable JDK 9 build
Date Tue, 17 Jul 2018 15:29:50 GMT
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 fae5c9e5254c908519aa3fc36e2f8a1a8b767a2c
Author: Zoran Regvart <zregvart@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'
             }
         }
     }


Mime
View raw message