You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/07/20 12:21:14 UTC

[camel] branch master updated: Fixed Jenkinsfile.daily

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 ebb6c01  Fixed Jenkinsfile.daily
ebb6c01 is described below

commit ebb6c014f11802bea9fc6f586b45ff6361298ff4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 20 14:19:44 2018 +0200

    Fixed Jenkinsfile.daily
---
 Jenkinsfile.daily | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile.daily b/Jenkinsfile.daily
index 7fcde8f..6712de2 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 jdk9_result, jdk10_result, jdk11_result, karaf_itests_result
 
 pipeline {
 
@@ -60,7 +60,9 @@ pipeline {
             steps {
                 dir("tests/camel-itest-karaf/") {
                     sh "./kill-karaf.sh"
-                    karaf_itests_result = sh script: "./run-tests.sh", returnStatus: true
+                    script {
+                        karaf_itests_result = sh script: "./run-tests.sh", returnStatus: true
+                    }
                 }
             }
         }