summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-08-10 15:57:21 +0200
committerHolger Levsen <holger@layer-acht.org>2017-08-10 10:22:11 -0400
commit8dca6df7ea64ecb7b52b7dd7fc6eb48f24cad863 (patch)
tree7a8dc0ccd014823d6dbebe2db36fd88ce258a69d
parent93bbca8f030177e33384b819ee768e1ce2a891e5 (diff)
downloadjenkins.debian.net-8dca6df7ea64ecb7b52b7dd7fc6eb48f24cad863.tar.xz
reproducible debian: notify #d-r-changes for unreproducible -> FTBFS
Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 2746c066..07483e28 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -134,9 +134,9 @@ update_db_and_html() {
query_db "SELECT status FROM results WHERE package_id='${SRCPKGID}'")
# irc+mail notifications for changing status in unstable and experimental
if [ "$SUITE" = "unstable" ] || [ "$SUITE" = "experimental" ] ; then
- if [ "${OLD_STATUS}" = "reproducible" ] && [ "$STATUS" != "depwait" ] && \
- ( [ "$STATUS" = "unreproducible" ] || [ "$STATUS" = "FTBFS" ] ) ; then
- MESSAGE="${DEBIAN_URL}/${SUITE}/${ARCH}/${SRCPACKAGE} : reproducible ➤ ${STATUS}"
+ if ([ "$OLD_STATUS" = "reproducible" ] && ( [ "$STATUS" = "unreproducible" ] || [ "$STATUS" = "FTBFS" ] )) || \
+ ([ "$OLD_STATUS" = "unreproducible" ] && [ "$STATUS" = "FTBFS" ] ); then
+ MESSAGE="${DEBIAN_URL}/${SUITE}/${ARCH}/${SRCPACKAGE} : ${OLD_STATUS} ➤ ${STATUS}"
log_info "$MESSAGE"
irc_message debian-reproducible-changes "$MESSAGE"
fi