2017-08-09 69 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

找到了。它不在項目設置上,它在構建配置設置上。 再次感謝! –