I'm trying to reconfigure our TeamCity build server (running on WIN 2008) and switch from SVN to Mercurial repository. I use the following link as Configuring Mercurial (Hg) with TeamCity over SSH at RepositoryHosting. I spent several days and still can't get it work. I can reach the Mercurial repository from TeamCity (via Test Connect) and I can pull code from Mercurial via TrotoiseHG, but the build fails 开发者_如何学Goevery time because TeamCity cannot pull source code from the server.
Does anybody had the same issue?
Have you tried using Agent-Side checkout instead of the default? Otherwise, TeamCity tries to "intelligently" detect changes and distribute them to build nodes. Failure can occur whenever something happens in the VCS that TeamCity doesn't understand how to replicate, such as using subrepos.
精彩评论