summaryrefslogtreecommitdiffstats
path: root/bin
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-04 12:04:46 +0200
commit299b954115dc073317b8d302e74ff1e8c6b5ade7 (patch)
treed6644286dd85e7caf43397a6a34236eb7fe3e51c /bin
parent7afbbb7a66b4859b8f978f4757001931a98d81e9 (diff)
downloadjenkins.debian.net-299b954115dc073317b8d302e74ff1e8c6b5ade7.tar.xz
reproducible: remote scheduler: also tell whether there is going to be noise or silence after the scheduling
Diffstat (limited to 'bin')
-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 86f235b3..1f7b6f77 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -121,13 +121,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,