diff options
author | Chris Lamb <lamby@debian.org> | 2017-11-05 09:33:24 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-11-10 14:52:38 +0000 |
commit | cd8cba0432dc493800bfcad9f0ebbc90b897e87e (patch) | |
tree | 4a9aa52afa250f1725421e3a8e5c23cbf8a75a68 | |
parent | bd1ac52b8b2fe52cbf144a8ee8f1a15fd8e7c99f (diff) | |
download | jenkins.debian.net-cd8cba0432dc493800bfcad9f0ebbc90b897e87e.tar.xz |
Move some IRC announcements to #debian-reproducible-changes.
This changes the behaviour such that we always announce on our "noisy"
#debian-reproducible-changes but keeps the main #debian-reproducible
channel free for a) when we really want to notify the channel such as when
we want to preserve artifacts or explicitly ask to be notified and b)
regular chat.
Otherwise, regular/vanilla reschedling can have the effect of masking other
conversations.
Signed-off-by: Chris Lamb <lamby@debian.org>
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index efc04b05..b871d1a9 100755 --- a/bin/reproducible_remote_scheduler.py +++ b/bin/reproducible_remote_scheduler.py @@ -357,7 +357,11 @@ def rest(scheduling_args, requester, local, suite, arch): log.info(bcolors.GOOD + info_msg + bcolors.ENDC) if not (local and requester == "jenkins maintenance job") and len(ids) != 0: if not dry_run: - irc_msg(info_msg) + # Always announce on -changes + irc_msg(info_msg, 'debian-reproducible-changes') + # Announce some messages on main channel + if notify_on_start or artifacts: + irc_msg(info_msg) from reproducible_html_live_status import generate_schedule generate_schedule(arch) # update the HTML page |