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

matthieu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit fe25df6ed9a3920d59f9b3ac5b061fa4441fbc27
Author: Jean Helou <[email protected]>
AuthorDate: Thu Jan 7 17:39:36 2021 +0100

    JAMES-3225 make sure to capture dumpstream if exists on surefire crash
---
 Jenkinsfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 6b9d6f2..459dd36 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -96,8 +96,9 @@ pipeline {
                 }
             post {
                 always {
-                    junit(testResults: '**/surefire-reports/*.xml', 
allowEmptyResults: true)
-                    junit(testResults: '**/failsafe-reports/*.xml', 
allowEmptyResults: true)
+                    junit(testResults: '**/surefire-reports/*.xml', 
allowEmptyResults: false)
+                    junit(testResults: '**/failsafe-reports/*.xml', 
allowEmptyResults: false)
+                           archiveArtifacts artifacts: 
'**/surefire-reports/*.dumpstream' , fingerprint: true
                 }
             }
         }
@@ -113,6 +114,7 @@ pipeline {
                 always {
                     junit(testResults: '**/surefire-reports/*.xml', 
allowEmptyResults: true)
                     junit(testResults: '**/failsafe-reports/*.xml', 
allowEmptyResults: true)
+        archiveArtifacts artifacts: '**/surefire-reports/*.dumpstream' , 
fingerprint: true
                 }
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to