diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-03-11 15:22:50 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-03-11 15:22:50 +0100 |
commit | 8d6dd16f63f5bdb51f10ae0f7ba33a9d8163b20b (patch) | |
tree | 1dfa86783ef133186fedfe8283f97bb4f0b99392 | |
parent | b73ca2d95341dd6e1330020fed6fe25cea2e86c1 (diff) | |
download | jenkins.debian.net-8d6dd16f63f5bdb51f10ae0f7ba33a9d8163b20b.tar.xz |
reproducible Debian: remove debug when notifying about diffoscope failures
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_build.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index b9f89c83..c3baac83 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -104,7 +104,11 @@ cleanup_all() { if [ "$SAVE_ARTIFACTS" = "1" ] ; then save_artifacts elif ( [ "$NOTIFY" = "1" ] || [ "$NOTIFY" = "2" ] ) && [ "$SAVE_ARTIFACTS" = "0" ] ; then - irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY" + if [ "$NOTIFY" = "diffoscope" ] ; then + irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE failed…" + else + irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY" + fi elif [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY" fi |