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-spring-boot.git
The following commit(s) were added to refs/heads/master by this push: new b149c29 Jenkinsfile for JDK11: We should do only one build and run the test in the same step b149c29 is described below commit b149c299b2266b1ba3b0528de7c75d08848b915b Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Feb 14 09:18:02 2020 +0100 Jenkinsfile for JDK11: We should do only one build and run the test in the same step --- Jenkinsfile.sb.jdk11 | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile.sb.jdk11 b/Jenkinsfile.sb.jdk11 index 2619562..d671645 100644 --- a/Jenkinsfile.sb.jdk11 +++ b/Jenkinsfile.sb.jdk11 @@ -21,7 +21,7 @@ def LOCAL_REPOSITORY = env.LOCAL_REPOSITORY ?: '/home/jenkins/jenkins-slave/mave def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu' def JDK_NAME = env.JDK_NAME ?: 'JDK 11 (latest)' -def MAVEN_PARAMS = '-U -B -e -fae -V -Dmaven.repo.local=/home/jenkins/.m2/repository -Dmaven.compiler.fork=true -Dsurefire.rerunFailingTestsCount=2' +def MAVEN_PARAMS = '-U -B -e -fae -V -Dmaven.repo.local=/home/jenkins/.m2/repository -Dmaven.compiler.fork=true' def spring_boot_itests_result @@ -54,16 +54,8 @@ pipeline { stage('Build') { steps { - sh "./mvnw $MAVEN_PARAMS clean install" - } - } - - stage('spring-boot-itests') { - steps { - dir("tests/camel-itest-spring-boot/") { - script { - spring_boot_itests_result = sh script: "../mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true clean install", returnStatus: true - } + script { + spring_boot_itests_result = sh script: "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true clean install", returnStatus: true } } post { @@ -72,7 +64,6 @@ pipeline { } } } - } post {