You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2019/08/01 20:15:17 UTC

[couchdb] branch jenkins-junit-reports-and-jenkins-env updated: Use rsync to bring reports back to workspace

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 94a11b4  Use rsync to bring reports back to workspace
94a11b4 is described below

commit 94a11b491bf26b05c6218fb21c9ee50bcf60cd27
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Thu Aug 1 16:15:03 2019 -0400

    Use rsync to bring reports back to workspace
---
 Jenkinsfile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 9bf9e28..b6d4ddb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -252,12 +252,15 @@ pipeline {
           } // steps
           post {
             always {
-              dir(pwd(tmp: true)) {
-                sh 'pwd'
-                sh 'ls -l'
-                sh 'find . -name "*.xml"'
+                sh '''rsync -av
+                            --include="*/"
+                            --include="*/.eunit/*.xml"
+                            --exclude="*"
+                            --prune-empty-dirs
+                            ${builddir}/apache-couchdb-*/src
+                            ${WORKSPACE}
+                    '''
                 junit '**/.eunit/*.xml'
-                // junit '**/_build/*/lib/couchdbtest/*.xml'
               }
             }
             success {