sandcastle-ng

Scripts for the deployment of Sandcastle (GNU Taler)
Log | Files | Refs | README

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

buildbot: handle artifact cleanup after syncing

Diffstat:
Mcontrib/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 @@ -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}"