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: More syntax games
Date Fri, 02 Aug 2019 01:25:15 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 a12ef83  More syntax games
a12ef83 is described below

commit a12ef8372aa517e12243f5e72b4c431e8fcb52d9
Author: Adam Kocoloski <kocolosk@apache.org>
AuthorDate: Thu Aug 1 21:25:03 2019 -0400

    More syntax games
---
 Jenkinsfile | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 7082ffd..cb474a2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -241,7 +241,7 @@ pipeline {
             builddir = pwd tmp:true
           }
           steps {
-            sh 'rm -f apache-couchdb-*'
+            sh 'rm -rf apache-couchdb-*'
             unstash 'tarball'
             sh( script: preamble, label: "Environment Details" )
             sh( script: configure_tarball, label: "Configure CouchDB from tarball" )
@@ -252,14 +252,8 @@ pipeline {
           } // steps
           post {
             always {
-              sh '''rsync -av
-                          --include="*/"
-                          --include="*/.eunit/*.xml"
-                          --exclude="*"
-                          --prune-empty-dirs
-                          ${builddir}/apache-couchdb-*/src
-                          ${WORKSPACE}
-                  '''
+              sh 'rsync -av --include="*/" --include="*/.eunit/*.xml" --exclude="*" \
+                      --prune-empty-dirs ${builddir}/apache-couchdb-*/src ${WORKSPACE}'
               junit '**/.eunit/*.xml'
             }
             success {


Mime
View raw message