summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-06 15:39:37 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-18 17:20:08 +0200
commit2f7824f9763892225fefa9a8141f631f7a6a4bdf (patch)
tree3133e0fd629a42b559e73c2e5ce37d177fe7e0c3 /bin/reproducible_build.sh
parente894db84ed99e13bb473076401ff9a1a7cd88f27 (diff)
downloadjenkins.debian.net-2f7824f9763892225fefa9a8141f631f7a6a4bdf.tar.xz
reproducible: build: refactor: call_debbindiff(): call handle_ftbr() inside the case
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 7472c559..b1020b9f 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -200,20 +200,21 @@ call_debbindiff() {
rm -f $DBDCHROOT_READLOCK $TMPLOG
echo | tee -a ${RBUILDLOG}
case $RESULT in
- 124)
- dbd_timeout
- ;;
0)
handle_reproducible
1)
DEBBINDIFFOUT="$DBDVERSION found issues, please investigate $REPRODUCIBLE_URL/dbd/${SUITE}/${ARCH}/${DBDREPORT}"
+ handle_ftbr
;;
2)
DEBBINDIFFOUT="$DBDVERSION had trouble comparing the two builds. Please investigate $REPRODUCIBLE_URL/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log"
SAVE_ARTIFACTS=3
+ handle_ftbr
+ ;;
+ 124)
+ dbd_timeout
;;
esac
- handle_ftbr
print_out_duration
}