[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] common-functions: only notify irc channel if channel is set
Holger Levsen
gitlab at salsa.debian.org
Thu May 6 12:43:19 BST 2021
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
f98d6522 by Holger Levsen at 2021-05-06T13:43:06+02:00
common-functions: only notify irc channel if channel is set
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bin/chroot-run.sh
- bin/common-functions.sh
Changes:
=====================================
bin/chroot-run.sh
=====================================
@@ -4,7 +4,7 @@
# Copyright 2013 Antonio Terceiro <terceiro at debian.org>
# released under the GPLv2
-DEBUG=true
+DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
=====================================
bin/common-functions.sh
=====================================
@@ -204,7 +204,7 @@ publish_changes_to_userContent() {
echo
echo $MESSAGE
echo
- if [ "${CHANNEL+x}" = "x" ] ; then
+ if [ "${CHANNEL+x}" != "x" ] ; then
kgb-client --conf /srv/jenkins/kgb/$CHANNEL.conf --relay-msg "$MESSAGE"
fi
}
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f98d6522d18a158380e82a0710b2392f13d3878a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f98d6522d18a158380e82a0710b2392f13d3878a
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/20210506/8d567ec3/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list