Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3A513200CCA for ; Wed, 19 Jul 2017 09:42:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 389ED168782; Wed, 19 Jul 2017 07:42:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7E7D4168781 for ; Wed, 19 Jul 2017 09:42:58 +0200 (CEST) Received: (qmail 24016 invoked by uid 500); 19 Jul 2017 07:42:57 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 24005 invoked by uid 99); 19 Jul 2017 07:42:57 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2017 07:42:57 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id B7B3581534; Wed, 19 Jul 2017 07:42:56 +0000 (UTC) Date: Wed, 19 Jul 2017 07:42:56 +0000 To: "commits@couchdb.apache.org" Subject: [couchdb] branch jenkins-packages-2 updated: Build repos and push to couchdb-vm2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <150045017665.16460.458249037405116528@gitbox.apache.org> From: wohali@apache.org Reply-To: "commits@couchdb.apache.org" X-Git-Host: gitbox.apache.org X-Git-Repo: couchdb X-Git-Refname: refs/heads/jenkins-packages-2 X-Git-Reftype: branch X-Git-Oldrev: c40f66d06bafbeb2e04c989e1a3ecfe5c034fde4 X-Git-Newrev: eeb7cdaf9c4419bb868ac27818313499876ada5e X-Git-Rev: eeb7cdaf9c4419bb868ac27818313499876ada5e X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated archived-at: Wed, 19 Jul 2017 07:42:59 -0000 This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch jenkins-packages-2 in repository https://gitbox.apache.org/repos/asf/couchdb.git The following commit(s) were added to refs/heads/jenkins-packages-2 by this push: new eeb7cda Build repos and push to couchdb-vm2 eeb7cda is described below commit eeb7cdaf9c4419bb868ac27818313499876ada5e Author: Joan Touzet AuthorDate: Wed Jul 19 03:42:39 2017 -0400 Build repos and push to couchdb-vm2 --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 88401b8..9c87374 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -439,7 +439,7 @@ pipeline { echo 'Building CentOS repos...' sh ''' cd pkgs/centos6 && createrepo --database . - cd ../centos7 && rm js* && createrepo --database . + cd ../centos7 && rm -f js* && createrepo --database . ''' echo 'rsyncing repos to couchdb-vm2...' sh ''' @@ -452,12 +452,14 @@ pipeline { ''' // cronjob on couchdb-vm2 cleans up old tarballs (keeps latest 10) echo 'rsyncing source tarball to couchdb-vm2...' + sh 'rm -rf *.tar.gz' unstash 'tarball' sh ''' rm -rf $BRANCH_NAME mkdir -p $BRANCH_NAME/source mv apache-couchdb-*.tar.gz $BRANCH_NAME/source rsync -avz -e "ssh -i $KEY" $BRANCH_NAME username@couchdb-vm2.apache.org:/var/www/html + rm -rf $BRANCH_NAME couchdb-pkg *.tar.gz ''' deleteDir() } // withCredentials -- To stop receiving notification emails like this one, please contact ['"commits@couchdb.apache.org" '].