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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to