diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-12 12:08:32 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-12 12:08:32 +0100 |
commit | a902d1f8c381bd6c31eaa81a1a5bea18f1187463 (patch) | |
tree | 68631e061b4fad967f35fe6a4b9e65de921418cd | |
parent | 4e1a2de485ea48cb3d9b2090101d37e203a775da (diff) | |
download | jenkins.debian.net-a902d1f8c381bd6c31eaa81a1a5bea18f1187463.tar.xz |
reproducible archlinux: minor refactoring to gain some tiny performance
-rwxr-xr-x | bin/reproducible_html_archlinux.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 11220893..53b422a0 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -54,14 +54,6 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do HTML_TARGET=$HTML_DEPWAIT let NR_DEPWAIT+=1 echo " <img src=\"/userContent/static/weather-snow.png\" alt=\"depwait icon\" /> failed to install dependencies" >> $HTML_BUFFER - elif [ ! -z "$(egrep '==> ERROR: A failure occurred in (build|package)' $ARCHBASE/$REPOSITORY/$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 build from source" >> $HTML_BUFFER - elif [ ! -z "$(egrep '==> ERROR: A failure occurred in check' $ARCHBASE/$REPOSITORY/$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 build from source, while running tests" >> $HTML_BUFFER elif [ ! -z "$(egrep '==> ERROR: Failure while downloading' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then HTML_TARGET=$HTML_404 let NR_404+=1 @@ -70,6 +62,14 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do 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 + elif [ ! -z "$(egrep '==> ERROR: A failure occurred in (build|package)' $ARCHBASE/$REPOSITORY/$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 build from source" >> $HTML_BUFFER + elif [ ! -z "$(egrep '==> ERROR: A failure occurred in check' $ARCHBASE/$REPOSITORY/$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 build from source, while running tests" >> $HTML_BUFFER elif [ ! -z "$(egrep 'makepkg was killed by timeout after' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then HTML_TARGET=$HTML_FTBFS let NR_FTBFS+=1 |