summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-06 19:09:14 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-18 18:03:00 +0200
commit73b55a1188254cdfb1f5c8257e70a739266e1fbc (patch)
tree0c2c7ed4c63121389da266f6c46f00a27bba49a7
parent384b46b554fdc6517edfffacd834b98f44ea4f41 (diff)
downloadjenkins.debian.net-73b55a1188254cdfb1f5c8257e70a739266e1fbc.tar.xz
reproducible: build: refactor: specific complains when dbd says it's reproducible but 1) there is .buildinfo 2) there is .debbindiff.html
-rwxr-xr-xbin/reproducible_build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index a2f3bac2..29953733 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -157,8 +157,11 @@ handle_reproducible() {
echo "${SRCPACKAGE} from $SUITE built successfully and reproducibly on ${ARCH}." | tee -a ${RBUILDLOG}
calculate_build_duration
update_db_and_html "reproducible"
- else
- echo "Debbindiff says the build is reproducible, but either there is a debbindiff file or there is no .buildinfo. Please investigate" | tee -a $RBUILDLOG
+ elif [ -f ./$DBDREPORT ] ; then
+ echo "Debbindiff says the build is reproducible, but there is a debbindiff file. Please investigate" | tee -a $RBUILDLOG
+ handle_ftbr
+ elif [ ! -f b1/$BUILDINFO ] ; then
+ echo "Debbindiff says the build is reproducible, but there is no .buildinfo file. Please investigate" | tee -a $RBUILDLOG
handle_ftbr
fi
}