gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-sandcastle-ng] 01/02: buildbot: handle artifact cleanup after syn


From: gnunet
Subject: [taler-sandcastle-ng] 01/02: buildbot: handle artifact cleanup after syncing
Date: Sat, 17 Feb 2024 14:52:28 +0100

This is an automated email from the git hooks/post-receive script.

devan-carpenter pushed a commit to branch master
in repository sandcastle-ng.

commit ddad8b358e74da30e03d0fbd5a9ac3b5e5b67670
Author: Devan Carpenter <devan@taler.net>
AuthorDate: Sat Feb 17 08:49:50 2024 -0500

    buildbot: handle artifact cleanup after syncing
---
 contrib/ci/jobs/1-deploy/job.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/contrib/ci/jobs/1-deploy/job.sh b/contrib/ci/jobs/1-deploy/job.sh
index 062abc1..373c4fc 100755
--- a/contrib/ci/jobs/1-deploy/job.sh
+++ b/contrib/ci/jobs/1-deploy/job.sh
@@ -11,4 +11,6 @@ RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}"
 
 rsync -vP \
       --port ${RSYNC_PORT} \
-      ${ARTIFACT_PATH} ${RSYNC_DEST}
+      ${ARTIFACT_PATH} ${RSYNC_DEST} || rm -f "${ARTIFACT_PATH}"
+
+rm -f "${ARTIFACT_PATH}"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]