OK, information on my issue,
svn, version 1.6.11 (r934486)
compiled Apr 12 2012, 11:02:08
COMMIT code works, but post-commit does not. Here is my post commit code:
echo "=============================" >> ${LOG}
echo "${REPOS_NAME} r${REV} ${DATE} $(${SVN}look author -r ${REV} $REPOS)"
>> ${LOG}
##########################
### DO INITIAL CHECKOUT ###
###########################
if [ ! -e ${SVN_DEST} ]; then
echo "directory ${SVN_DEST} does not exist creating." >> ${LOG}
mkdir -vp ${SVN_DEST} >> ${LOG}
/usr/bin/whoami >> ${LOG}
echo "initial checkout: ${SVN} co --username ${USER} --password
${PASS} -q ${SVN_SRC}${SVN_DEST} " >> ${LOG}
${SVN} co --username ${USER} --password ${PASS} -q ${SVN_SRC}
${SVN_DEST} >> ${LOG} 2>&1
if [ ${?} != 0 ]; then
echo "checkout: RETRYING" >> ${LOG}
rm -rf ${SVN_DEST}
${SVN} co --username ${USER} --password ${PASS} -q
${SVN_SRC} ${SVN_DEST} >> ${LOG} 2>&1
if [ ${?} != 0 ]; then
echo "checkout: FAILED -- FIXME" >> ${LOG}
tail --lines=100 ${LOG} | mail -s "svn checkout: FAILED
for ${REPOS_NAME} on ${DATE}" ${ADMINMAIL}
> ${LOCKFILE}
exit 1
Here is the output in my LOG file:
=============================
<myRepo> r2503 2014-02-09 13:46:34 -0500 <myID>
directory /var/svn/svntmp/<myRepo>/build/ does not exist creating.
apache -- So this is user that SVN hooks are executed as
initial checkout: /usr/bin/svn co --username apache --password ***** -q
http://svnServer/svn/<myRepo>/trunk/wwwroot/ /var/svn/svntmp/<myRepo>/build/
svn: OPTIONS of 'http://svnServer/svn/<myRepo>/trunk/wwwroot': could not
connect to server (http://svnServer)
checkout: RETRYING
svn: OPTIONS of 'http://svnServer/svn/<myRepo>/trunk/wwwroot': could not
connect to server (http://svnServer)
checkout: FAILED -- FIXME
No Proxy server is being used or in the way.
This was working, I attempted to add LDAP and had no luck getting it to
work. I have rolled back code and at this point I have tried so many
things that I am not able to get it working again and my team will be in
tomorrow and need this to work.
I need some suggestions and some time away from issue. Lost sleep
attempting to correct.
Please help.
Thanks
Matthew C. Parks
Received on 2014-02-10 07:48:33 CET