diff options
author | Chris Lamb <lamby@debian.org> | 2016-10-02 10:17:33 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-10-02 12:31:37 +0200 |
commit | ff0b247c48e10c3c5e6df92d017b86d4d4ad4aee (patch) | |
tree | 2cb85c9a15756679ec3e1e4ffbba3559a367355d /bin | |
parent | f96598e4d51b05f057db98abf34da7088653ca3c (diff) | |
download | jenkins.debian.net-ff0b247c48e10c3c5e6df92d017b86d4d4ad4aee.tar.xz |
reproducible Debian: Move regular "Scheduled in..." messages to #-changes
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.py | 4 | ||||
-rwxr-xr-x | 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 c472d365..356b4afc 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 d1e667ac..1b1b3555 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') |