teamcity with svn not working
It just runs forever and this is all the log shows:
[11:38:08]: Checking for changes
[11:38:10]: Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[11:38:11]: Checkout directory: C:\SVN\files
[11:38:11]: Updating sources: agent side checkout...
[11:38:11]: [Updating sources: agent side checkout...] Will perform clean checkout. Reason: Agent doesn't have an开发者_运维百科y version of the project sources
[11:38:11]: [Updating sources: agent side checkout...] Cleaning C:\SVN\files
[11:38:11]: [Updating sources: agent side checkout...] VCS Root: cust svn files
[11:38:11]: [VCS Root: cust svn files] revision: 30050_2011/06/02 11:32:49 -0700
[11:38:11]: [VCS Root: cust svn files] Will use fast SVN
I have tried the 'clean' options
- I have restarted the server and tried several times and this is all I get - it just runs all night long and never does anything. I have also checked the 'test'
for SVN root which works fine.
I have used TeamCity with Vault but not SVN so I'm sure I just have something wrong.
Also this is running on Windows 2008 R2 Standard -- I also have the build agent running under the admin account..
Resolved - the path to my repository was incorrect. I never got an error, it was just hanging. Everything is working now. TeamCity really needs better docs/walkthrougs etc.
This actually happened to me today. I removed the previously created work folder and ran the build again, that worked.
Happened today for me, TC version 9.1.6.
Had to:
- Delete the work directory on agent
- Empty the VCS root folder in %ProgramData%\JetBrains\TeamCity\system/caches/git. (You would need to look into the map file to figure out which folder to empty)
- Remove the VCS root entry from the map file.
Seems to have started to work now. It is possible that only one of the above steps was enough. But I don't know which one (if any).
精彩评论