summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-13 23:52:14 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-13 23:52:14 +0200
commit47740f2535a9fcd157b1e848b47d6d5f35bfe9bc (patch)
treed1c0cc1ff826b4db1fddbe30830e1767be80050c /bin
parent543146c2cd0a499b2cd68ac02a7d5a0b7f0ea257 (diff)
downloadjenkins.debian.net-47740f2535a9fcd157b1e848b47d6d5f35bfe9bc.tar.xz
reproducible: include first 265 bytes of names of manally rescheduled packages in irc notification...
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_schedule_on_demand.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh
index d68a4ce9..f3722302 100755
--- a/bin/reproducible_schedule_on_demand.sh
+++ b/bin/reproducible_schedule_on_demand.sh
@@ -58,7 +58,10 @@ check_candidates() {
#
CANDIDATES="$@"
check_candidates
-MESSAGE="$TOTAL package(s) manually (re-)scheduled: $PACKAGES"
+if [ $#{PACKAGES} -gt 256 ] ; then
+ BLABLABLA="..."
+fi
+MESSAGE="$TOTAL package(s) manually (re-)scheduled: ${PACKAGES:0:256}$BLABLABLA"
# finally
schedule_packages