summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-11-22 12:15:59 +0000
committerHolger Levsen <holger@layer-acht.org>2017-11-22 12:15:59 +0000
commit3ab7b9f2c46dc4184d415c3e47046eee152dc07f (patch)
treeba17ddbca69849e39052614ade7f4c44876b62e7 /bin
parent547315b43772afa95980bd3c9e92e563222908fb (diff)
downloadjenkins.debian.net-3ab7b9f2c46dc4184d415c3e47046eee152dc07f.tar.xz
reproducible Arch Linux: lets entirely ignore rsync errors
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build_archlinux_pkg.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 967232a2..8ba705cf 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -253,7 +253,7 @@ remote_build() {
# FIXME: atm this is never reached…
#cleanup_all
#handle_remote_error "with exit code $RESULT from $NODE for build #$BUILDNR for ${SRCPACKAGE} from $REPOSITORY"
- echo "remote build failed with exit code $RESULT from $NODE for build #$BUILDNR for ${SRCPACKAGE} from $REPOSITORY"
+ echo "Warning: remote build failed with exit code $RESULT from $NODE for build #$BUILDNR for ${SRCPACKAGE} from $REPOSITORY."
fi
fi
rsync -e "ssh -o 'Batchmode = yes' -p $PORT" -r $FQDN:$TMPDIR/b$BUILDNR $TMPDIR/
@@ -264,7 +264,8 @@ remote_build() {
rsync -e "ssh -o 'Batchmode = yes' -p $PORT" -r $FQDN:$TMPDIR/b$BUILDNR $TMPDIR/
RESULT=$?
if [ $RESULT -ne 0 ] ; then
- handle_remote_error "when rsyncing remote build #$BUILDNR results from $NODE"
+ #handle_remote_error "when rsyncing remote build #$BUILDNR results from $NODE"
+ echo "Warning: error rsyncing remote build #$BUILDNR results from $NODE."
fi
fi
ls -lR $TMPDIR