Debugging dailyTest.sh. Rollback 4711 & 4710. Issue caused by rmillsmm changing IP address (connected to wrong WiFi)

This commit is contained in:
Robin Mills 2017-03-01 19:42:36 +00:00
parent 8a0add1dc8
commit 9be1653ce7

View File

@ -12,16 +12,12 @@ if [ "$(osName)" == "cygwin" ]; then
fi
echo -------------------------------
# 2017-03-01 Linux and Cygwin have taken a dislike to http://exiv2.dyndns.org:8080
JENKINS=http://rmillsmm:8080
##
# figure out today's build
# http://exiv2.dyndns.org:8080/userContent/builds/Daily
date=$(date '+%Y-%m-%d')
count=4
# curl='/usr/local/bin/curl --silent --connect-timeout 30 --max-time 40'
curl='/usr/local/bin/curl'
curl='/usr/local/bin/curl --silent --connect-timeout 30 --max-time 40'
while [ "$count" != "0" ]; do
if [ "$count" != "0" ]; then echo "*** count = $count ***" ; fi
build=$($curl "$JENKINS/$DAILY/" \
@ -33,7 +29,6 @@ while [ "$count" != "0" ]; do
if [ "$count" != "0" ]; then
count=$(expr $count - 1)
fi
if [ "$count" == "1" ]; then
echo --------
echo $curl "$JENKINS/$DAILY/" | xmllint --html --format