summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_maintenance.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-14 19:38:09 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-14 22:36:07 +0200
commit98cbb7d97f540dfe073ed235e96123903c31369f (patch)
tree33b7b9a3c86592b585fda4fec23f6139593d0d9d /bin/reproducible_maintenance.sh
parent860f29ff449b15a082407c80075e51be1e86c1a7 (diff)
downloadjenkins.debian.net-98cbb7d97f540dfe073ed235e96123903c31369f.tar.xz
reproducible: common,maintenance: also pass $REASON to the rescheduling script via --message
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-xbin/reproducible_maintenance.sh1
1 files changed, 1 insertions, 0 deletions
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