Author: nickboldt
Date: 2011-06-11 01:14:45 -0400 (Sat, 11 Jun 2011)
New Revision: 32045
Modified:
branches/jbosstools-3.2.x/build/publish.sh
Log:
should be checking for .git, not .svn
Modified: branches/jbosstools-3.2.x/build/publish.sh
===================================================================
--- branches/jbosstools-3.2.x/build/publish.sh 2011-06-11 04:36:55 UTC (rev 32044)
+++ branches/jbosstools-3.2.x/build/publish.sh 2011-06-11 05:14:45 UTC (rev 32045)
@@ -58,7 +58,7 @@
# JBDS-1361 - fetch XML and then sed it into plain text
wgetParams="--timeout=900 --wait=10 --random-wait --tries=30 --retry-connrefused
--no-check-certificate --server-response"
rl=${STAGINGDIR}/logs/REVISION
-if [[ $(find ${WORKSPACE} -mindepth 2 -maxdepth 3 -name ".svn") ]]; then
+if [[ $(find ${WORKSPACE} -mindepth 2 -maxdepth 3 -name ".git") ]]; then
# Track git source revision through hudson api:
/job/${JOB_NAME}/${BUILD_NUMBER}/api/xml?xpath=//lastBuiltRevision
rl=${STAGINGDIR}/logs/GIT_REVISION
rm -f ${rl}.txt ${rl}.xml; wget -O ${rl}.xml
"http://hudson.qa.jboss.com/hudson/job/${JOB_NAME}/${BUILD_NUMBER}/api/xml?xpath=//lastBuiltRevision"
${wgetParams}
Show replies by date