[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:46:34 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=3f9c3d1
The following commit has been merged in the master branch:
commit 3f9c3d1817b0f94fae0cdb483e0d953869dd2d24
Author: Robin Mills <robin at clanmills.com>
Date: Mon Jul 18 21:46:17 2016 +0000
debugging contrib/buildserver/test_daily.sh. Add curl timeouts and retries when interrogating buildserver does not find the build
---
contrib/buildserver/test_daily.sh | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/contrib/buildserver/test_daily.sh b/contrib/buildserver/test_daily.sh
index 1794b29..e4bf071 100755
--- a/contrib/buildserver/test_daily.sh
+++ b/contrib/buildserver/test_daily.sh
@@ -9,9 +9,25 @@ echo -------------------------------
# figure out today's build
# http://exiv2.dyndns.org:8080/userContent/builds/Daily
date=$(date '+%Y-%m-%d')
-build=$(/usr/local/bin/curl --silent $JENKINS/$DAILY/ \
- |xmllint --html --pretty 1 - 2>/dev/null | grep $PLATFORM \
- |grep $date | grep -v -e view | cut -d'"' -f 2 | tail -1 )
+count=4
+curl='/usr/local/bin/curl --silent --connect-timeout 30 --max-time 40'
+while [ count != 0 ]; do
+ build=$($curl $JENKINS/$DAILY/ \
+ |xmllint --html --pretty 1 - 2>/dev/null | grep $PLATFORM \
+ |grep $date | grep -v -e view | cut -d'"' -f 2 | tail -1 )
+ if [ build != "" ]; then
+ count=0;
+ fi
+ if [ "$count" != "0" ]; then
+ count=$(expr $count - 1)
+ fi
+ if [ "$count" == "1" ]; then
+ echo --------
+ echo $curl $JENKINS/$DAILY/ | xmllint --html --pretty 1
+ $curl $JENKINS/$DAILY/ | xmllint --html --pretty 1
+ echo --------
+ fi
+done
echo date = $date
echo url = $JENKINS/$DAILY/
@@ -24,8 +40,8 @@ if [ -e /tmp/jenkins ]; then
fi
mkdir /tmp/jenkins
cd /tmp/jenkins
-echo /usr/local/bin/curl -O $JENKINS/$DAILY/$build
- /usr/local/bin/curl -O $JENKINS/$DAILY/$build
+echo /usr/local/bin/curl -O --connect-timeout 30 $JENKINS/$DAILY/$build
+ /usr/local/bin/curl -O --connect-timeout 30 $JENKINS/$DAILY/$build
ls -alt $build
if [ ! -e $build ]; then echo '*** $build has not been downloaded ***' ; exit 0; fi
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list