summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-04 12:59:42 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-04 12:59:42 +0100
commitb9ed648c838bbe001ba2faa82599e8cf5d5e0a03 (patch)
tree65300477579189d809340151fbc5b36de6d9b84a /bin
parent363226564eb73c186fee8416265a0474b3a0ba12 (diff)
downloadjenkins.debian.net-b9ed648c838bbe001ba2faa82599e8cf5d5e0a03.tar.xz
reproducible: only treat absence of debbindiff output as successful if debbindiff run also exited successfully...
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh2
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