[Qa-jenkins-scm] [jenkins.debian.net] 03/03: reproducible: remote_scheduler: don't message the irc channel if 0 packages got scheduled
Holger Levsen
holger at moszumanska.debian.org
Mon Jun 15 08:43:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit ab52c3913d163cc1c0638c08c6bed8e58a5ba0ad
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Mon Jun 15 10:33:13 2015 +0200
reproducible: remote_scheduler: don't message the irc channel if 0 packages got scheduled
---
bin/reproducible_remote_scheduler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index d8ece34..cbcc7aa 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list