我正在尝试使用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 :(得分:1)
在TeamCity中,转到右上角的指定配置:edit settings
。
在左侧,转到vcs Settings
:在scrren的顶部,您可以定义配置将使用的VCS,在底部,您可以设置如何检出来源。 (代理方,服务器方)
https://confluence.jetbrains.com/display/TCD10/VCS+Checkout+Mode