summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_remote_scheduler.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-13 18:06:55 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-14 22:36:07 +0200
commit860f29ff449b15a082407c80075e51be1e86c1a7 (patch)
tree53dca729712239cf18b73a449e20718438b446a0 /bin/reproducible_remote_scheduler.py
parentc83b788568167ed7f197d8613e93817e4f98ebaf (diff)
downloadjenkins.debian.net-860f29ff449b15a082407c80075e51be1e86c1a7.tar.xz
reproducible: reduce code duplication by teaching sh's schedule_packages() to call reproducible_schedule_on_demand.py and fix various scripts
Diffstat (limited to 'bin/reproducible_remote_scheduler.py')
-rwxr-xr-xbin/reproducible_remote_scheduler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 6259d0df..bee9a741 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -173,6 +173,7 @@ cursor.executemany(query2, save_schedule)
conn_db.commit()
log.info(bcolors.GOOD + message + bcolors.ENDC)
-irc_msg(message)
+if requester != "jenkins maintenance job" and not local:
+ irc_msg(message)
generate_schedule() # the html page