summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-15 10:33:13 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-15 10:42:45 +0200
commitab52c3913d163cc1c0638c08c6bed8e58a5ba0ad (patch)
tree985a1704fbe1ef7557971511c2e7fada7039ad4a /bin
parent5d9180ec0ac9dcee72aea46e40de4e48037770f4 (diff)
downloadjenkins.debian.net-ab52c3913d163cc1c0638c08c6bed8e58a5ba0ad.tar.xz
reproducible: remote_scheduler: don't message the irc channel if 0 packages got scheduled
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_remote_scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index d8ece34f..cbcc7aa0 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -184,7 +184,7 @@ cursor.executemany(query2, save_schedule)
conn_db.commit()
log.info(bcolors.GOOD + message + bcolors.ENDC)
-if not (local and requester == "jenkins maintenance job"):
+if not (local and requester == "jenkins maintenance job") and len(ids) != 0:
irc_msg(message)
generate_schedule() # the html page