summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_rpms.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-14 15:32:00 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-14 15:32:00 +0100
commit66817d5fc0d9433abe44cfee1ad99159f1a9463d (patch)
tree6a6c14062f2d8305ee3675d048005e33c2472a20 /bin/reproducible_html_rpms.sh
parent65b4d0a46c210c402535034bad233d46bb380c8f (diff)
downloadjenkins.debian.net-66817d5fc0d9433abe44cfee1ad99159f1a9463d.tar.xz
reproducible rpms: detect builds killed by timeout
Diffstat (limited to 'bin/reproducible_html_rpms.sh')
-rwxr-xr-xbin/reproducible_html_rpms.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh
index fb5794e7..03c5584e 100755
--- a/bin/reproducible_html_rpms.sh
+++ b/bin/reproducible_html_rpms.sh
@@ -58,7 +58,11 @@ for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename {
elif [ ! -z "$(egrep '^ERROR: Command failed. See logs for output.' $RPMBASE/$RELEASE/$ARCH/$PKG/build1.log)" ] ; then
HTML_TARGET=$HTML_FTBFS
let NR_FTBFS+=1
- echo " <img src=\"/userContent/static/weather-storm.png\" alt=\"ftbfs icon\" /> failed to verify source" >> $HTML_BUFFER
+ echo " <img src=\"/userContent/static/weather-storm.png\" alt=\"ftbfs icon\" /> failed to build" >> $HTML_BUFFER
+ elif [ ! -z "$(egrep 'mock was killed by timeout after' $RPMBASE/$RELEASE/$ARCH/$PKG/build1.log)" ] ; then
+ HTML_TARGET=$HTML_FTBFS
+ let NR_FTBFS+=1
+ echo " <img src=\"/userContent/static/weather-storm.png\" alt=\"ftbfs icon\" /> killed by timeout" >> $HTML_BUFFER
else
echo " probably failed to build from source, please investigate" >> $HTML_BUFFER
HTML_TARGET=$HTML_UNKNOWN