From b9ed648c838bbe001ba2faa82599e8cf5d5e0a03 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 4 Jan 2015 12:59:42 +0100 Subject: reproducible: only treat absence of debbindiff output as successful if debbindiff run also exited successfully... --- bin/reproducible_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 75295492..e9bf8ade 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -166,7 +166,7 @@ else elif [ $RESULT -eq 1 ] ; then DEBBINDIFFOUT="debbindiff found issues, please investigate $REPRODUCIBLE_URL/userContent/dbd/${LOGFILE}" fi - if [ ! -f ./${LOGFILE} ] && [ -f b1/${BUILDINFO} ] ; then + if [ $RESULT -eq 0 ] && [ ! -f ./${LOGFILE} ] && [ -f b1/${BUILDINFO} ] ; then cp b1/${BUILDINFO} /var/lib/jenkins/userContent/buildinfo/ > /dev/null 2>&1 figlet ${SRCPACKAGE} echo -- cgit v1.2.3-54-g00ecf