2017-08-09 58 views
2

我想建立一个使用SVN仓库的TeamCity服务器,我得到了这个工作,但问题是,无论何时我在仓库中进行更改,我一个“应用补丁时出错”。这是完全错误svn: E200015如何更改从代理结帐到服务器结账

Failed to perform checkout on agent: svn: E200015: Error during update from https: //laptop-eh7tmoiv/svn/TCRepoTest to C:\BuildAgent\work\2e2edba23560e7ef 

我读过关于JetBrains公司整体Checkout documentation,但我找不到在哪里更改结账方式。我想在服务器端结账。

这是构建日志。

[14:47:40]TeamCity server version is 2017.1.3 (build 46961) 

[14:48:27]The build is removed from the queue to be prepared for the start 

[14:48:27]Collecting changes in 1 VCS root 

[14:48:27][Collecting changes in 1 VCS root] VCS Root details 

[14:48:27][VCS Root details] "svn: https: //laptop-eh7tmoiv/svn/TCRepoTest" {instance id=1, parent internal id=1, parent id=TCRepoTest_SvnHttpsLaptopEh7tmoivSvnTCRepoTest, description: "svn: https: //laptop-eh7tmoiv/svn/TCRepoTest"} 

[14:48:27][Collecting changes in 1 VCS root] Detecting changes in VCS root 'svn: https: //laptop-eh7tmoiv/svn/TCRepoTest' (used in 'BuildOne') 

[14:48:27][Collecting changes in 1 VCS root] Will collect changes for 'svn: https: //laptop-eh7tmoiv/svn/TCRepoTest' starting from revision 13 

[14:48:27][Collecting changes in 1 VCS root] Compute revision for 'svn: https: //laptop-eh7tmoiv/svn/TCRepoTest' 

[14:48:27][Compute revision for 'svn: https: //laptop-eh7tmoiv/svn/TCRepoTest'] Upper limit revision: 13 

[14:47:41][Compute revision for 'svn: https: //laptop-eh7tmoiv/svn/TCRepoTest'] MaxModId = 16 

[14:48:27][Compute revision for 'svn: https: //laptop-eh7tmoiv/svn/TCRepoTest'] Latest commit attached to build configuration: 13 

[14:48:27][Compute revision for 'svn: https: //laptop-eh7tmoiv/svn/TCRepoTest'] Computed revision: 13 

[14:48:27]Starting the build on the agent W10Agent 

[14:48:28]Agent time zone: America/Montevideo 

[14:48:28]Agent is running under JRE: 1.8.0_121-b13 

[14:48:28]Clearing temporary directory: C:\BuildAgent\temp\buildTmp 

[14:48:28]Publishing internal artifacts 

[14:48:28][Publishing internal artifacts] Publishing 1 file using [WebPublisher] 

[14:48:28][Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher] 

[14:48:28]Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist 

[14:48:28]Checkout directory: C:\BuildAgent\work\2e2edba23560e7ef 

[14:48:28]Updating sources: auto checkout (on agent) 

[14:48:28][Updating sources] Will use agent side checkout 

[14:48:28][Updating sources] VCS Root: svn: https: //laptop-eh7tmoiv/svn/TCRepoTest 

[14:48:28][VCS Root: svn: https: //laptop-eh7tmoiv/svn/TCRepoTest] revision: 13 

[14:48:28][VCS Root: svn: https: //laptop-eh7tmoiv/svn/TCRepoTest] Checkout from https: //laptop-eh7tmoiv/svn/TCRepoTest 

[14:48:28][VCS Root: svn: https: //laptop-eh7tmoiv/svn/TCRepoTest] Using working copy format 1.8 

[14:48:28][Updating sources] Failed to perform checkout on agent: svn: E200015: Error during update from https: //laptop-eh7tmoiv/svn/TCRepoTest to C:\BuildAgent\work\2e2edba23560e7ef 

[14:48:28]Publishing internal artifacts 

[14:48:28][Publishing internal artifacts] Publishing 1 file using [WebPublisher] 

[14:48:28][Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher] 

[14:48:28]Build failed to start. Artifacts will not be published for this build 

[14:48:29]Build finished 

任何帮助将不胜感激。

+0

基础上@Didier答案我能找到在哪里配置结账模式。 你必须去你的项目,然后选择** Build Configuration **,然后进入**版本控制设置**在左侧面板上,显示_ advanced options_并且有结帐模式设置。 再次感谢您的帮助,并感谢您提出这样的小问题,但我无法在任何地方找到该选项。 你正在帮助一个初级开发者!谢谢! –

回答

1

在TeamCity中,转到指定的配置,在右上角:edit settings

在左侧,转到vcs Settings:在scrren的顶部,您将定义您的配置将使用的VCS,您可以在底部设置如何检出信号源。 (代理端,服务器端)

https://confluence.jetbrains.com/display/TCD10/VCS+Checkout+Mode

+0

感谢您的回答! 我似乎无法找到这些设置。我去我的项目>编辑项目设置> VCS的根>编辑VCS根...但我没有任何选项来选择我想结帐。关于结帐的唯一的事情是这http://i.imgur.com/ogI99qQ.png 但我找不到任何更多的选项或选择器显示结帐模式。 对不起,如果我问的是一个微不足道的问题,但我正在学习嘿嘿。 在此先感谢! –

+1

找到了。它不在项目设置上,它在构建配置设置上。 再次感谢! –