summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-03 13:09:22 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-03 13:09:22 +0200
commit70fba9c726aa4ce669eb689c5c2d3a6a6dcc1278 (patch)
tree97e12e7030253b37dfc612f5daa320d122efba82
parenta7a56dee7fec023ff82a3eb7d2092d0f85ac92df (diff)
downloadjenkins.debian.net-70fba9c726aa4ce669eb689c5c2d3a6a6dcc1278.tar.xz
reproducible: fix reproducible->unreproducible status notifications
-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 ef99a400..69ddcd06 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -182,9 +182,9 @@ handle_ftbr() {
echo "$(date) - $DBDVERSION produced no output (which is strange)." | tee -a $RBUILDLOG
fi
calculate_build_duration
+ local OLD_STATUS=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT status FROM results WHERE package_id='${SRCPKGID}'")
update_db_and_html "unreproducible"
# notification for changing status
- local OLD_STATUS=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT status FROM results WHERE package_id='${SRCPKGID}'")
if [ "${OLD_STATUS}" = "reproducible" ]; then
MESSAGE="status changed from reproducible → unreproducible. ${REPRODUCIBLE_URL}/${SUITE}/${ARCH}/${SRCPACKAGE}"
echo "\n$MESSAGE" | tee -a ${RBUILDLOG}