From 89a95aa07ad805f3cdc2bb047089b2c612a5b754 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 19 Feb 2015 02:29:24 +0000 Subject: Condense rescheduling onto a single line --- bin/reproducible_schedule_on_demand.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_schedule_on_demand.sh') diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh index 781db0bb..5b4f3ea0 100755 --- a/bin/reproducible_schedule_on_demand.sh +++ b/bin/reproducible_schedule_on_demand.sh @@ -60,7 +60,11 @@ if [ ${#PACKAGES} -gt 256 ] ; then BLABLABLA="..." fi PACKAGES=$(echo $PACKAGES) -MESSAGE="$TOTAL $PACKAGES_TXT manually scheduled: ${PACKAGES:0:256}$BLABLABLA" +ACTION="manually rescheduled" +if [ -n "${BUILD_URL:-}" ] ; then + ACTION="rescheduled by $BUILD_URL" +fi +MESSAGE="$TOTAL $PACKAGES_TXT $ACTION: ${PACKAGES:0:256}$BLABLABLA" # finally schedule_packages -- cgit v1.2.3-54-g00ecf