[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible arch: dont fail job if build fails

Holger Levsen holger at moszumanska.debian.org
Fri Oct 16 23:37:45 UTC 2015


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 7b82946dc5430660e0f2c9bc30825c15540cc5ed
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Oct 17 01:36:55 2015 +0200

    reproducible arch: dont fail job if build fails
---
 bin/reproducible_build_arch_pkg.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 7165b64..42d3ec8 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -176,7 +176,7 @@ fi
 mkdir b1 b2
 remote_build 1
 # only do the 2nd build if the 1st produced some results
-if [ ! -z "$(ls $TMPDIR/b1/$SRCPACKAGE/*.pkg.tar.xz)" ] ; then
+if [ ! -z "$(ls $TMPDIR/b1/$SRCPACKAGE/*.pkg.tar.xz || true)" ] ; then
 	remote_build 2
 	# run diffoscope on the results
 	TIMEOUT="30m"

-- 
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