contrib/buildserver/test_daily.sh sometimes fumbles 'curl $JENKINS/$DAILY/' on Linux (/usr/local/bin/curl http://exiv2.dyndns.org:8080/userContent/builds/Daily/)

This commit is contained in:
Robin Mills 2016-07-06 08:03:45 +00:00
parent 41d25bca56
commit 6e3dacbdfa

View File

@ -1,7 +1,10 @@
#!/bin/bash
source $(find . -name buildserver.library)
source $(find . -name buildserver.library 2>/dev/null)
echo -------------------------------
echo PLATFORM = $PLATFORM
echo -------------------------------
##
# figure out today's build
# http://exiv2.dyndns.org:8080/userContent/builds/Daily
@ -11,7 +14,7 @@ build=$(/usr/local/bin/curl --silent $JENKINS/$DAILY/ \
|grep $date | grep -v -e view | cut -d'"' -f 2 | tail -1 )
echo date = $date
echo url = $JENKINS/$DAILY
echo url = $JENKINS/$DAILY/
echo build = $build
##
@ -31,9 +34,6 @@ if [ ! -e dist ]; then echo '*** no dist directory ***' ; exit 1; fi
##
# enter the dist and test it
echo -------------------------------
echo PLATFORM = $PLATFORM
echo -------------------------------
cd dist
grep_args="-e libexiv2 -e ^date -e ^bits -e ^version -e ^time"
case $PLATFORM in