summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-29 13:23:26 +0100
committerHolger Levsen <holger@layer-acht.org>2014-10-29 13:23:26 +0100
commite104e14509cc79af0b4053bed7b947322e8aed12 (patch)
treec451347256df69db9e2f69eeb3b4bb68e4eb39a9
parent2db6f29e848ba0381d4ebf933c7b04c02971f8ba (diff)
downloadjenkins.debian.net-e104e14509cc79af0b4053bed7b947322e8aed12.tar.xz
d-i-overview: treat missing builds as failure
-rwxr-xr-xbin/d-i_overview.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/d-i_overview.sh b/bin/d-i_overview.sh
index 2c1fc35f..1c27aade 100755
--- a/bin/d-i_overview.sh
+++ b/bin/d-i_overview.sh
@@ -27,16 +27,20 @@ echo "Checking $URL for build issues on $ARCH."
awk '/ul id="missingarchs/,/<\/ul>/' $TMPFILE > $MISSING
awk '/ul id="failedarchs/,/<\/ul>/' $TMPFILE > $FAILED
if grep -q "<li><a href=\"#$ARCH\"" $MISSING ; then
- echo "Warning: Build for $ARCH is missing!"
+ echo "Warning: Build for $ARCH is missing - check $URL#$ARCH"
CLEAN=false
fi
if grep -q "<li><a href=\"#$ARCH\"" $FAILED ; then
- echo "Failure: Build for $ARCH failed!"
- exit 1
+ echo "Failure: Build for $ARCH failed - check $URL#$ARCH"
+ CLEAN=false
fi
+
if $CLEAN ; then
echo "None found."
fi
echo
rm $TMPFILE $FAILED $MISSING
+if ! $CLEAN ; then
+ exit 1
+fi