diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-01 15:04:40 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-01 15:04:40 +0200 |
commit | 30accdad872e10d06312da3c9d4ccbe36e227762 (patch) | |
tree | 0195bb2e4627be0a2bc68caf1cc47ffaa5527508 | |
parent | 363eb64f4bdb267bb318e62294446554a8986f59 (diff) | |
download | jenkins.debian.net-30accdad872e10d06312da3c9d4ccbe36e227762.tar.xz |
reproducible: disable mail notifications for testing
-rwxr-xr-x | bin/reproducible_build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index cd322b37..3f01c8a6 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -110,11 +110,12 @@ update_db_and_html() { fi fi fi - if [ "$OLD_STATUS" != "$STATUS" ] && [ "$NOTIFY_MAINTAINER" -eq 1 ] && \ + if [ "$SUITE" != "testing" ] && \ + [ "$OLD_STATUS" != "$STATUS" ] && [ "$NOTIFY_MAINTAINER" -eq 1 ] && \ [ "$OLD_STATUS" != "depwait" ] && [ "$STATUS" != "depwait" ] && \ [ "$OLD_STATUS" != "404" ] && [ "$STATUS" != "404" ]; then echo "More information on $REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE, feel free to reply to this email to get more help." | \ - mail -s "$SRCPACKAGE changed in $SUITE: $OLD_STATUS -> $STATUS" \ + mail -s "$SRCPACKAGE changed in $SUITE/$ARCH: $OLD_STATUS -> $STATUS" \ -a "From: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>" \ "$SRCPACKAGE@packages.debian.org" fi |