[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: be verbose when sending irc message fails

Holger Levsen gitlab at salsa.debian.org
Fri Oct 5 11:39:56 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
5614c3c3 by Holger Levsen at 2018-10-05T10:39:36Z
reproducible: be verbose when sending irc message fails

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_common.sh


Changes:

=====================================
bin/reproducible_common.sh
=====================================
@@ -600,7 +600,7 @@ irc_message() {
 	shift
 	local MESSAGE="$@"
 	echo "Sending '$MESSAGE' to $CHANNEL now."
-	kgb-client --conf /srv/jenkins/kgb/$CHANNEL.conf --relay-msg "$MESSAGE" || true # don't fail the whole job
+	kgb-client --conf /srv/jenkins/kgb/$CHANNEL.conf --relay-msg "$MESSAGE" || echo "$(date -u) - couldn't send message to $CHANNEL, continuing anyway." # don't fail the whole job
 }
 
 call_diffoscope() {



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/5614c3c309d3fc935932ed83027a366a64ab8ebf

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/5614c3c309d3fc935932ed83027a366a64ab8ebf
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181005/12f096d1/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list