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:18 UTC

[james-project] 21/27: JAMES-3225 archive test-run.log on failure

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 f00d8c076b1af4e3658233df775a4b9e111c7180
Author: Jean Helou <jh...@codamens.fr>
AuthorDate: Wed Feb 3 22:35:09 2021 +0100

    JAMES-3225 archive test-run.log on failure
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index f669cae..ef7da53 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -92,7 +92,6 @@ pipeline {
         stage('Stable Tests') {
             steps {
                 echo 'Running tests'
-                // all tests run is very very long (10 hours on Apache Jenkins)
                 sh 'mvn -B -e -fae test ${MVN_SHOW_TIMESTAMPS}'
             }
             post {
@@ -119,6 +118,7 @@ pipeline {
                     junit(testResults: '**/failsafe-reports/*.xml', allowEmptyResults: true)
                 }
                 failure {
+                    archiveArtifacts artifacts: '**/target/test-run.log' , fingerprint: true
                     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