[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: Move regular "Scheduled in..." messages to #-changes

Holger Levsen holger at layer-acht.org
Sun Oct 2 10:31:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit ff0b247c48e10c3c5e6df92d017b86d4d4ad4aee
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Oct 2 10:17:33 2016 +0100

    reproducible Debian: Move regular "Scheduled in..." messages to #-changes
---
 bin/reproducible_common.py    | 4 ++--
 bin/reproducible_scheduler.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index c472d36..356b4af 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -691,8 +691,8 @@ def get_trailing_bug_icon(bug, bugs, package=None):
     return html
 
 
-def irc_msg(msg):
-    kgb = ['kgb-client', '--conf', '/srv/jenkins/kgb/debian-reproducible.conf',
+def irc_msg(msg, channel='debian-reproducible'):
+    kgb = ['kgb-client', '--conf', '/srv/jenkins/kgb/%s.conf' % channel,
            '--relay-msg']
     kgb.extend(str(msg).strip().split())
     call(kgb)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index d1e667a..1b1b355 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -689,4 +689,4 @@ if __name__ == '__main__':
         # build the kgb message text
         message = 'Scheduled in ' + '+'.join(SUITES) + ':' + message
         log.info(message)
-        irc_msg(message)
+        irc_msg(message, channel='debian-reproducible-changes')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list