summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_remote_scheduler.py
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2017-11-05 09:33:24 +0000
committerHolger Levsen <holger@layer-acht.org>2017-11-10 14:52:38 +0000
commitcd8cba0432dc493800bfcad9f0ebbc90b897e87e (patch)
tree4a9aa52afa250f1725421e3a8e5c23cbf8a75a68 /bin/reproducible_remote_scheduler.py
parentbd1ac52b8b2fe52cbf144a8ee8f1a15fd8e7c99f (diff)
downloadjenkins.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>
Diffstat (limited to 'bin/reproducible_remote_scheduler.py')
-rwxr-xr-xbin/reproducible_remote_scheduler.py6
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