summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-06 16:13:45 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-06 16:13:45 +0100
commit3f497a20cc0b69fec4afec08187ad059348caf1a (patch)
treee1f379a0e99b5f9880edd1bbc1e99ffb3fef28f8
parent8d43e5ef5ea182285e06bcbba81cf0dd19f76dc7 (diff)
downloadjenkins.debian.net-3f497a20cc0b69fec4afec08187ad059348caf1a.tar.xz
reproducible: leave a note in the empty logfile if debbindiff is killed due to timeout
-rwxr-xr-xbin/reproducible_build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 1c622b5d..21f81952 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -163,6 +163,9 @@ else
echo | tee -a ${RBUILDLOG}
if [ $RESULT -eq 124 ] ; then
echo "$(date) - debbindiff was killed after running into timeout... maybe there is still $REPRODUCIBLE_URL/userContent/dbd/${LOGFILE}" | tee -a ${RBUILDLOG}
+ if [ ! -s ./${LOGFILE} ] ; then
+ echo "$(date) - debbindiff produced no output and was killed after running into timeout..."
+ fi
elif [ $RESULT -eq 1 ] ; then
DEBBINDIFFOUT="debbindiff found issues, please investigate $REPRODUCIBLE_URL/userContent/dbd/${LOGFILE}"
fi