This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c26b28  Daily build: Run tests on different JDKs in parallel
1c26b28 is described below

commit 1c26b28145553e8db45f5b5412903d16ef1f6948
Author: Pascal Schumacher <pascalschumac...@gmx.net>
AuthorDate: Thu May 10 11:54:06 2018 +0200

    Daily build: Run tests on different JDKs in parallel
---
 Jenkinsfile.daily | 56 +++++++++++++++++++++++++++++--------------------------
 1 file changed, 30 insertions(+), 26 deletions(-)

diff --git a/Jenkinsfile.daily b/Jenkinsfile.daily
index 57f023e..014c574 100644
--- a/Jenkinsfile.daily
+++ b/Jenkinsfile.daily
@@ -51,34 +51,38 @@ pipeline {
             }
         }
 
-        stage('Test JDK 9') {
-            tools {
-                jdk 'JDK 1.9 (latest)'
-            }
-            steps {
-                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') {
+            parallel {
+                stage('Test JDK 9') {
+                    tools {
+                        jdk 'JDK 1.9 (latest)'
+                    }
+                    steps {
+                        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)'
-            }
-            steps {
-                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)'
+                    }
+                    steps {
+                        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" 
+                        }
+                    }
                 }
             }
         }

-- 
To stop receiving notification emails like this one, please contact
pascalschumac...@apache.org.

Reply via email to