You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by ma...@apache.org on 2021/02/09 09:18:14 UTC

[james-project] 17/27: JAMES-3225 archive all surefire reports on crash

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 8c92bf148110b0b9436c0776e0c3b84822fbc47f
Author: Jean Helou <jh...@codamens.fr>
AuthorDate: Wed Jan 20 21:28:29 2021 +0100

    JAMES-3225 archive all surefire reports on crash
---
 Jenkinsfile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index ea840f4..f669cae 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -99,7 +99,9 @@ pipeline {
                 always {
                     junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: false)
                     junit(testResults: '**/failsafe-reports/*.xml', allowEmptyResults: true)
-                    archiveArtifacts artifacts: '**/surefire-reports/*.dumpstream' , fingerprint: true
+                }
+                failure {
+                    archiveArtifacts artifacts: '**/surefire-reports/*' , fingerprint: true
                 }
             }
         }
@@ -115,7 +117,9 @@ pipeline {
                 always {
                     junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true)
                     junit(testResults: '**/failsafe-reports/*.xml', allowEmptyResults: true)
-                    archiveArtifacts artifacts: '**/surefire-reports/*.dumpstream' , fingerprint: true
+                }
+                failure {
+                    archiveArtifacts artifacts: '**/surefire-reports/*' , fingerprint: true
                 }
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org