[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: lets entirely ignore rsync errors

Holger Levsen holger at layer-acht.org
Wed Nov 22 12:16:15 UTC 2017


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 3ab7b9f2c46dc4184d415c3e47046eee152dc07f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Nov 22 12:15:59 2017 +0000

    reproducible Arch Linux: lets entirely ignore rsync errors
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build_archlinux_pkg.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 967232a..8ba705c 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list