summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_maintenance.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-23 17:26:40 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-25 13:08:08 +0200
commit9c1c845a51249714a528133a65ba89c70469e472 (patch)
tree07718060c6b11d3ee5018ddf8c583a72ee9eba10 /bin/reproducible_maintenance.sh
parent8afbbad8f7da157097fb05d57d01583c03e55ddd (diff)
downloadjenkins.debian.net-9c1c845a51249714a528133a65ba89c70469e472.tar.xz
reproducible: add a sane mean to notify the IRC channel when builds finish.
* new column in the database, schedule table * turn $SAVE_ARTIFACTS a true boolean, 0→no artifacts, 1→yes artifacts * $NOTIFY in the build script is text containg a keyword: + if empty no notification will be sent + if "debbindiff" a "$DBDVERSION had trouble with these" will be sent + if "failure" a "no artifacts could have been saved"-like will be sent + any other value trigs a normal message * adapt the maintenance script and the manual scheduler to cope with the new column
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-xbin/reproducible_maintenance.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index f471d134..ab5206f6 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -109,8 +109,8 @@ if [ ! -z "$FAILED_BUILDS" ] ; then
check_candidates
if [ $TOTAL -ne 0 ] ; then
echo " - in $SUITE: $CANDIDATES"
- # '0' here means the artifacts will not be saved
- schedule_packages 0 $PACKAGE_IDS
+ ARTIFACTS=0
+ schedule_packages $PACKAGE_IDS
fi
done
DIRTY=true