summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-03-09 12:28:09 +0100
committerHolger Levsen <holger@layer-acht.org>2017-03-09 12:28:09 +0100
commit8ce588c273a22770265482b473452c19dc05b7c9 (patch)
tree599c659de8153ae6d62bd2bf893c83c4119c2425
parentfc4d99b056fa44bf9e2eab0d789c13c9d0c401c4 (diff)
downloadjenkins.debian.net-8ce588c273a22770265482b473452c19dc05b7c9.tar.xz
reproducible Debian: send manual notifictaions to #d-r and triggered ones to #d-r-changes
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 98535aba..3ba3258b 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -103,8 +103,10 @@ cleanup_all() {
echo "Starting cleanup."
if [ "$SAVE_ARTIFACTS" = "1" ] ; then
save_artifacts
- elif [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
+ elif ( [ "$NOTIFY" = "1" ] || [ "$NOTIFY" = "2" ] ) && [ "$SAVE_ARTIFACTS" = "1" ] ; then
irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
+ elif [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
+ irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
fi
[ ! -f $RBUILDLOG ] || gzip -9fvn $RBUILDLOG
if [ "$MODE" = "master" ] ; then