sandcastle-ng

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

commit 4cf17affe97bc9e18a840fbf3121903cb1ff1c87
parent 77cbdce3e8883102bd1f6684aabf7b9acd7e082b
Author: Devan Carpenter <devan@taler.net>
Date:   Mon, 10 Feb 2025 12:38:59 +0100

ci: exit fail if rsync fails

Diffstat:
Mcontrib/ci/jobs/2-deploy-head/job.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/ci/jobs/2-deploy-head/job.sh b/contrib/ci/jobs/2-deploy-head/job.sh @@ -20,7 +20,7 @@ apt-get install -yqq --no-install-recommends \ # Send our container tarball to the host rsync -vP \ --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} || rm -f ${ARTIFACT_PATH} + ${ARTIFACT_PATH} ${RSYNC_DEST} || rm -f ${ARTIFACT_PATH} && exit 1 # Make sure we cleanup rm -f ${ARTIFACT_PATH}