From 41af19cf57b9ccabe94e35da1cc2e87fb070c6a7 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Fri, 14 Oct 2016 10:58:06 +0200 Subject: reproducible/openwrt|lede: node_save_logs: ignore return code in error case Signed-off-by: Holger Levsen --- bin/reproducible_openwrt_common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh index 793ee1b8..e17698eb 100644 --- a/bin/reproducible_openwrt_common.sh +++ b/bin/reproducible_openwrt_common.sh @@ -44,12 +44,12 @@ master_cleanup_tmpdirs() { # in a success build the logs are saved on a different function if [ "$1" != "success" ] ; then # job failed - ssh $GENERIC_NODE1 reproducible_$TYPE node node_save_logs $TMPDIR/logs.xz $TMPDIR/build || true - ssh $GENERIC_NODE2 reproducible_$TYPE node node_save_logs $TMPDIR/logs.xz $TMPDIR/build || true + ssh $GENERIC_NODE1 reproducible_$TYPE node node_save_logs $TMPDIR || true + ssh $GENERIC_NODE2 reproducible_$TYPE node node_save_logs $TMPDIR || true # save failure logs mkdir -p $WORKSPACE/results/ - rsync -av $GENERIC_NODE1:$TMPDIR/build_logs.tar.xz $WORKSPACE/results/build_logs_b1.tar.xz - rsync -av $GENERIC_NODE2:$TMPDIR/build_logs.tar.xz $WORKSPACE/results/build_logs_b2.tar.xz + rsync -av $GENERIC_NODE1:$TMPDIR/build_logs.tar.xz $WORKSPACE/results/build_logs_b1.tar.xz || true + rsync -av $GENERIC_NODE2:$TMPDIR/build_logs.tar.xz $WORKSPACE/results/build_logs_b2.tar.xz || true fi ssh $GENERIC_NODE1 reproducible_$TYPE node node_cleanup_tmpdirs $TMPDIR || true -- cgit v1.2.3-70-g09d2