diff options
author | Mattia Rizzolo <mattia@debian.org> | 2017-08-10 15:57:21 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-08-10 10:22:11 -0400 |
commit | 8dca6df7ea64ecb7b52b7dd7fc6eb48f24cad863 (patch) | |
tree | 7a8dc0ccd014823d6dbebe2db36fd88ce258a69d | |
parent | 93bbca8f030177e33384b819ee768e1ce2a891e5 (diff) | |
download | jenkins.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-x | bin/reproducible_build.sh | 6 |
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 |