Use ipv4 for appci because ipv6 is broken

This commit is contained in:
Alexandre Aubin 2017-08-29 00:10:32 +02:00
parent 53bfe0a4a2
commit a8e5383488
2 changed files with 1 additions and 1 deletions

0
appci/analyze.py Normal file → Executable file
View file

2
appci/fetch.sh Normal file → Executable file
View file

@ -3,7 +3,7 @@ while read APP;
do do
APPNAME=$(echo $APP | awk '{print $1}') APPNAME=$(echo $APP | awk '{print $1}')
echo $APPNAME echo $APPNAME
wget -O data/$APPNAME "https://ci-apps.yunohost.org/jenkins/job/$APP/lastBuild/consoleText" wget -q -O data/$APPNAME "https://ci-apps.yunohost.org/jenkins/job/$APP/lastBuild/consoleText" --prefer-family=IPv4
CHECKS=$(cat data/$APPNAME | grep "Package linter:" -A15 | tail -n 16 | sed -e 's/FAIL/0/g' -e 's/SUCCESS/1/g' -e 's/Not evaluated./X/' | awk '{print $NF}' | tr -d '\n') CHECKS=$(cat data/$APPNAME | grep "Package linter:" -A15 | tail -n 16 | sed -e 's/FAIL/0/g' -e 's/SUCCESS/1/g' -e 's/Not evaluated./X/' | awk '{print $NF}' | tr -d '\n')
LEVELS=$(cat data/$APPNAME | grep 'Level of this application' -A10 | tail -n 11 | sed -e 's@N/A@X@g' -e 's/ Level //g' -e 's/Level of this application//g' | awk '{print $2}' | tr -d '\n') LEVELS=$(cat data/$APPNAME | grep 'Level of this application' -A10 | tail -n 11 | sed -e 's@N/A@X@g' -e 's/ Level //g' -e 's/Level of this application//g' | awk '{print $2}' | tr -d '\n')