diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-06 19:17:27 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-06 19:17:27 +0200 |
commit | 8cdf6a394f66604bc8a18bf7baad3ea2a2bad38e (patch) | |
tree | 77fcbfc1043e78993e4f715d55a69d1b2fe42d4f | |
parent | a7eef218cb30b7780f211fe545c46847408cbac5 (diff) | |
download | jenkins.debian.net-8cdf6a394f66604bc8a18bf7baad3ea2a2bad38e.tar.xz |
reproducible: dont exit out if debbindiff fails
-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 004c53ef..0d25c5ab 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -168,13 +168,13 @@ for SRCPACKAGE in ${PACKAGES} ; do sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_${EVERSION}.dsc dcmd cp /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}_amd64.changes b2 sudo dcmd rm /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}_amd64.changes - set -e cat b1/${SRCPACKAGE}_${EVERSION}_amd64.changes | tee -a ${RBUILDLOG} 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} RESULT=$? + set -e if [ $RESULT -eq 124 ] ; then echo "$(date) - debbindiff.py was killed after running into timeouot..." >> ./${RBUILDLOG} fi |