From 98cbb7d97f540dfe073ed235e96123903c31369f Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 14 Jun 2015 19:38:09 +0200 Subject: reproducible: common,maintenance: also pass $REASON to the rescheduling script via --message --- bin/reproducible_maintenance.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/reproducible_maintenance.sh') diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 3e4feec5..40d6d313 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -78,6 +78,7 @@ if [ ! -z "$FAILED_BUILDS" ] ; then echo "Rescheduling packages: " for SUITE in $(echo $FAILED_BUILDS | sed "s# #\n#g" | cut -d "/" -f8 | sort -u) ; do REQUESTER="jenkins maintenance job" + REASON="maintenance reschedule: reschedule builds which failed due to network errors" CANDIDATES=$(for PKG in $(echo $FAILED_BUILDS | sed "s# #\n#g" | grep "/$SUITE/" | cut -d "/" -f10 | cut -d "_" -f1) ; do echo -n "$PKG " ; done) schedule_packages $SUITE $CANDIDATES done -- cgit v1.2.3-54-g00ecf