summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-07 15:24:00 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-07 15:24:00 +0200
commit89cb9d7fd9038105e68627ed92c9196f07f8eb6e (patch)
treef72ff3d33dec5b5775584de8a9e4290128f8b1d6
parent8ff89606be39a966b6a7afbce2f545ffae11144e (diff)
downloadjenkins.debian.net-89cb9d7fd9038105e68627ed92c9196f07f8eb6e.tar.xz
reproducible: try harder to capture output on failure
-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 8bb0c198..49052fdb 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -170,7 +170,7 @@ for SRCPACKAGE in ${PACKAGES} ; do
LOGFILE=$(ls ${SRCPACKAGE}_${EVERSION}.dsc)
LOGFILE=$(echo ${LOGFILE%.dsc}.debbindiff.html)
BUILDINFO=${SRCPACKAGE}_${EVERSION}_amd64.buildinfo
- timeout 15m /var/lib/jenkins/debbindiff.git/debbindiff.py --html ./${LOGFILE} b1/${SRCPACKAGE}_${EVERSION}_amd64.changes b2/${SRCPACKAGE}_${EVERSION}_amd64.changes 2>&1 >> ${RBUILDLOG}
+ timeout --foreground 15m /var/lib/jenkins/debbindiff.git/debbindiff.py --html ./${LOGFILE} b1/${SRCPACKAGE}_${EVERSION}_amd64.changes b2/${SRCPACKAGE}_${EVERSION}_amd64.changes 2>&1 >> ${RBUILDLOG}
RESULT=$?
set -e
if [ $RESULT -eq 124 ] ; then