couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [couchdb] branch jenkins-junit-reports-and-jenkins-env updated: Try using dir()
Date Thu, 01 Aug 2019 14:49:58 GMT
This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch jenkins-junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/jenkins-junit-reports-and-jenkins-env by
this push:
     new 86e00e4  Try using dir()
86e00e4 is described below

commit 86e00e42f81d88e05e6c2cdfc2edef5a8620c33a
Author: Adam Kocoloski <kocolosk@apache.org>
AuthorDate: Thu Aug 1 10:49:47 2019 -0400

    Try using dir()
---
 Jenkinsfile | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 6bfd8f8..9bf9e28 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -252,14 +252,19 @@ pipeline {
           } // steps
           post {
             always {
-              junit '${builddir}/apache-couchdb-*/src/*/.eunit/*.xml'
-              junit '${builddir}/apache-couchdb-*/_build/*/lib/couchdbtest/*.xml'
+              dir(pwd(tmp: true)) {
+                sh 'pwd'
+                sh 'ls -l'
+                sh 'find . -name "*.xml"'
+                junit '**/.eunit/*.xml'
+                // junit '**/_build/*/lib/couchdbtest/*.xml'
+              }
             }
             success {
               archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
             }
             cleanup {
-              sh 'rm -rf ${builddir} ${COUCHDB_IO_LOG_DIR}'
+              sh 'rm -rf ${builddir}/apache-couchdb-* ${COUCHDB_IO_LOG_DIR}'
             }
           } // post
         } // stage


Mime
View raw message