我试图配置TeamCity,以Git作为VCS来构建位于Visual Studio Team Services上的项目。 该项目在URL中包含空格,因此它看起来像: mysrv.visualstudio/DefaultCollection/_git/some%20project
从Visual Studio 2013克隆也可以在命令行中正常工作。 当我在TeamCity中配置VCS Root并按下测试连接按钮时,它表示建立了连接,但是当我尝试运行构建TeamCityt报告没有兼容代理时,并且在兼容代理选项卡上我看到这样的信息: 隐式需求:20 VCS中定义的项目根目录:Git VS MySrv
是否有可能解决这个问题?
PS我尝试在VS Team Services上重命名存储库,但它使用空格添加到Url集合名称中:( p> )仍然得到这种行为,如果你尝试使用未转义的url(不用%20替换空格)?
另一种选择是使用另一个'%'转义'%' - 因此您的存储库的转义网址将如下所示: mysrv.visualstudio/DefaultCollection/_git/一些%% 20项目
I'm trying to configure TeamCity to build the project located on the Visual Studio Team Services with Git as VCS. The project contains spaces in the URL, so it looks like: mysrv.visualstudio/DefaultCollection/_git/some%20project
Clone from Visual Studio 2013 works fine, from command line too. When I'm configuring VCS Root in TeamCity and press the Test Connection button it says that connection established, but when I'm trying to run the build TeamCityt reports that there is no compatible agents, and on the Compatible Agents tab of the build I see the message: Implicit requirements: 20project defined in VCS Root: Git VS MySrv
Is it possible to fix this issue?
P.S. I tried to rename repository on VS Team Services, but it adds to the Url collection name with the spaces :(
解决方案Do you still get this behaviour, if you try to use unescaped url (without %20 replacing space)?
Another option is to escape '%' sign itself with another '%' - so escaped url of your repository will look like this mysrv.visualstudio/DefaultCollection/_git/some%%20project
更多推荐
TeamCity和git存储库与Visual Studio团队服务
发布评论