diff options
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') |