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

zregvart pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/jenkins-pipeline by this push:
     new 0f3c2f8  CAMEL-11930: incremental build experiment
0f3c2f8 is described below

commit 0f3c2f8891248aeaea2549151493c7fc2ea7f7dc
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Mon Feb 19 11:40:35 2018 +0100

    CAMEL-11930: incremental build experiment
    
    Allowed JUnit test result archiver to proceed even if no test reports
    were created (i.e. if no modules have been changed and they were all
    skipped).
---
 Jenkinsfile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 13979e0..6eedf22 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -63,17 +63,18 @@ pipeline {
             }
             post {
                 always {
-                    junit '**/target/surefire-reports/*.xml'
-                    junit '**/target/failsafe-reports/*.xml'
+                    junit allowEmptyResults: true, testResults: 
'**/target/surefire-reports/*.xml'
+                    junit allowEmptyResults: true, testResults: 
'**/target/failsafe-reports/*.xml'
                 }
             }
         }
 
-        stage('Deploy') {
+        // commented out not to deploy from experimental branch
+        /*stage('Deploy') {
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Pdeploy -Dnoassembly 
-Dmaven.test.skip.exec=true install"
             }
-        }
+        }*/
     }
 }
 

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

Reply via email to