Author: nickboldt
Date: 2011-01-24 11:19:37 -0500 (Mon, 24 Jan 2011)
New Revision: 28561
Modified:
trunk/build/publish.sh
Log:
remove -nc and add more verbosity to xml fetch; could be a wget bug here
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2011-01-24 15:33:22 UTC (rev 28560)
+++ trunk/build/publish.sh 2011-01-24 16:19:37 UTC (rev 28561)
@@ -54,8 +54,8 @@
# JBDS-1361 - fetch XML and then sed it into plain text
rl=${STAGINGDIR}/logs/SVN_REVISION
-rm -f ${rl}.txt ${rl}.xml
-wget -q --no-clobber -O ${rl}.xml
"http://hudson.qa.jboss.com/hudson/job/${JOB_NAME}/api/xml?wrapper=changeSet&depth=1&xpath=//build[1]/changeSet/revision"
--timeout=900 --wait=10 --random-wait --tries=10 --retry-connrefused
--no-check-certificate
+rm -f ${rl}.txt ${rl}.x--server-response
+wget -O ${rl}.xml
"http://hudson.qa.jboss.com/hudson/job/${JOB_NAME}/api/xml?wrapper=changeSet&depth=1&xpath=//build[1]/changeSet/revision"
--timeout=900 --wait=10 --random-wait --tries=30 --retry-connrefused
--no-check-certificate --server-response
sed -e
"s#<module>\(http[^<>]\+\)</module><revision>\([0-9]\+\)</revision>#\1\@\2\n#g"
${rl}.xml | sed -e "s#<[^<>]\+>##g" > ${rl}.txt