summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_remote_scheduler.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-20 20:29:45 +0000
committerHolger Levsen <holger@layer-acht.org>2015-07-05 15:07:56 +0200
commit5b552fabcac4c0e43a910616f9614d83a02de85b (patch)
tree299a4be739a296f0d6eeb32d8845df925679380c /bin/reproducible_remote_scheduler.py
parentef7d90a9a658f0f76f9942feb5aea109cf88fa17 (diff)
downloadjenkins.debian.net-5b552fabcac4c0e43a910616f9614d83a02de85b.tar.xz
reproducible: remote scheduler: also tell whether there is going to be noise or silence after the scheduling
Diffstat (limited to 'bin/reproducible_remote_scheduler.py')
-rwxr-xr-xbin/reproducible_remote_scheduler.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index ad29f6b6..a249a535 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -172,13 +172,15 @@ for pkg in packages:
blablabla = '✂…' if len(' '.join(pkgs)) > 257 else ''
packages_txt = ' packages ' if len(pkgs) > 1 else ' package '
-artifacts_txt = ' - artifacts will be preserved' if artifacts else ''
+trailing = ' - artifacts will be preserved' if artifacts else ''
+trailing += ' - there will be no notification at the end' if not notify else ''
+trailing += ' - notify when the build start too' if debug_url else ''
message = str(len(ids)) + packages_txt + 'scheduled in ' + suite + ' by ' + \
requester
if reason:
message += ' (reason: ' + reason + ')'
-message += ': ' + ' '.join(pkgs)[0:256] + blablabla + artifacts_txt
+message += ': ' + ' '.join(pkgs)[0:256] + blablabla + trailing
# these packages are manually scheduled, so should have high priority,