Build hangs on commit to subversion

Hi,
I am evaluationg Team City and have it running on my laptop, with subversion running on it too. Whenever Team City builds it hangs on commit step, however if I manually commit from comand line or using Trotoise it works fine. Can anybody shed some light on this?

This is how my target looks like

<!--Success/failure  -->
<target name="Success" description="Executes on Success">
    <echo message="Committing Changes..." if="${build.is.personal == 'False'}"/>
    <exec program="svn.exe"
  append = "true"
  basedir="..\..\tools\subversion"
  commandline="resolve ${teamcity.build.checkoutDir} --accept working -R"
          if="${build.is.personal == 'False'}"/>
    <exec program="svn.exe"
  append = "true"
  basedir="..\..\tools\subversion"
  commandline="commit --username epitka --password edv8456 -m &quot;Commit Changes made by Build Script&quot;"
          if="${build.is.personal == 'False'}"/>
</target>



 


and this is the log:

[22:27:22]: [exec] Starting 'C:\TeamCity\buildAgent\work\2e0bf514646ee85c\tools\subversion\svn.exe (commit --username epitka --password password123 -m "Commit Changes made by Build Script")' in 'C:\TeamCity\buildAgent\work\2e0bf514646ee85c\src\Common'
[22:27:23]: [exec] Error validating server certificate for 'https://lt-sandra:8443':
[22:27:23]: [exec] - The certificate is not issued by a trusted authority. Use the
[22:27:23]: [exec] fingerprint to validate the certificate manually!
[22:27:23]: [exec] Certificate information:
[22:27:23]: [exec] - Hostname: lt-sandra
[22:27:23]: [exec] - Valid: from Sun, 01 Feb 2009 00:49:21 GMT until Wed, 30 Jan 2019 00:49:21 GMT
[22:27:23]: [exec] - Issuer: lt-sandra
[22:27:23]: [exec] - Fingerprint: 4f:99:43:b4:e9:5b:10:d1:68:17:ae:67:df:7e:79:2c:51:3a:9c:90


3 comments
Comment actions Permalink

Wow, so many responses, one by one . Seriously, anybody out there?

0
Comment actions Permalink

What type of checkout do you use? Have you tried to use checkout on agent? With checkout on server you will not have .svn folders in the working copy. But with checkout on agent these folders will be created.

0
Comment actions Permalink

It has something to do with subversion. Once I switched to http instead of https it works fine. For testing http is fine for now.

0

Please sign in to leave a comment.