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

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new e75bc1c4675 Enable Jenkins Log when CI failed (#11700)
e75bc1c4675 is described below

commit e75bc1c46750036d5c407a86584bdbce82b74b98
Author: Potato <[email protected]>
AuthorDate: Wed Dec 13 10:42:08 2023 +0800

    Enable Jenkins Log when CI failed (#11700)
    
    Signed-off-by: OneSizeFitQuorum <[email protected]>
---
 Jenkinsfile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 49d95a32a60..368c25b9029 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -113,6 +113,12 @@ pipeline {
                     junit(testResults: '**/failsafe-reports/*.xml', 
allowEmptyResults: true)
                 }
             }
+            post {
+                failure {
+                    archiveArtifacts 'integration-test/target/cluster-logs/**'
+                    archiveArtifacts 'integration-test/target/pipeIT-logs/**'
+                }
+            }
         }
 
         stage('Deploy Prepare') {

Reply via email to