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

acosentino 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 8559c9e  Added a Spring-boot Itests stage to the Jenkinsfile.daily 
pipeline
8559c9e is described below

commit 8559c9eba9f09d7e3044c3a7dee676fa5057d91b
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Jul 26 10:04:07 2018 +0200

    Added a Spring-boot Itests stage to the Jenkinsfile.daily pipeline
---
 Jenkinsfile.daily | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile.daily b/Jenkinsfile.daily
index 6712de2..3a65bee 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, karaf_itests_result
+def jdk9_result, jdk10_result, jdk11_result, karaf_itests_result, 
spring_boot_itests_result
 
 pipeline {
 
@@ -67,6 +67,19 @@ pipeline {
             }
         }
 
+        stage('spring-boot-itests') {
+            tools {
+                jdk BUILD_JDK_NAME
+            }
+            steps {
+                dir("tests/camel-itest-spring-boot/") {
+                    script {
+                        spring_boot_itests_result = sh script: "./mvnw 
$MAVEN_PARAMS -Dmaven.test.failure.ignore=true test", returnStatus: true
+                    }
+                }
+            }
+        }
+
         stage('Test JDK 9') {
             tools {
                 jdk 'JDK 1.9 (latest)'
@@ -127,6 +140,7 @@ pipeline {
         always {
             script {
                 echo "Karaf Itests result is ${karaf_itests_result}"
+                echo "Spring-boot Itests result is 
${spring_boot_itests_result}"
                 currentBuild.result = jdk9_result == 0 && jdk10_result == 0 && 
jdk11_result == 0 ? 'SUCCESS' : 'FAILURE'
             }
         }

Reply via email to