diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-01-04 12:59:42 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-04 12:59:42 +0100 |
commit | b9ed648c838bbe001ba2faa82599e8cf5d5e0a03 (patch) | |
tree | 65300477579189d809340151fbc5b36de6d9b84a | |
parent | 363226564eb73c186fee8416265a0474b3a0ba12 (diff) | |
download | jenkins.debian.net-b9ed648c838bbe001ba2faa82599e8cf5d5e0a03.tar.xz |
reproducible: only treat absence of debbindiff output as successful if debbindiff run also exited successfully...
-rwxr-xr-x | bin/reproducible_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |