Visual Studio Team Services를 기반으로 TeamCity 빌드를 구성하려고하는데 다음 오류가 발생합니다.TeamCity + VSTS - 에이전트 대상 파일에 대한 체크 아웃을 수행하지 못했습니다.
나는 파일이 체크 아웃 디렉토리에 다운로드 된 것을 볼 수있다 (C : 작업 \의 e3b96b8eb42644db \ \ 인 TeamCity \ buildAgent), 내가 왜 이런 일을 알아낼 수 있습니다.
[18:04:51]Starting the build on the agent MYAGENT
[18:04:54]Clearing temporary directory: C:\TeamCity\buildAgent\temp\buildTmp
[18:04:54]Publishing internal artifacts
[18:04:54][Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[18:04:54][Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[18:04:54]Using vcs information from agent file: e3b96b8eb42644db.xml
[18:04:54]Checkout directory: C:\TeamCity\buildAgent\work\e3b96b8eb42644db
[18:04:54]Updating sources: auto checkout (on agent) (32s)
[18:04:54][Updating sources] Will use agent side checkout
[18:04:54][Updating sources] VCS Root: tfs: https://myproject.visualstudio.com/ $/myproject Project (32s)
[18:04:54][VCS Root: tfs: https://myproject.visualstudio.com/ $/myproject Project] revision: 26497
[18:04:55][VCS Root: tfs: https://myproject.visualstudio.com/ $/myproject Project] Using java working mode
[18:04:55][VCS Root: tfs: https://myproject.visualstudio.com/ $/myproject Project] Receiving workspace (10s)
[18:05:05][Receiving workspace] Using workspace TeamCity-checkout-9755e46c9dbd4e2386cd6ff8f61f9c3f;2805f05d-0506-40bf-ace2-1cc59462cfac/MYAGENT
[18:05:05][VCS Root: tfs: https://myproject.visualstudio.com/ $/myproject Project] Updating sources to revision: 26497
[18:05:27][Updating sources] Failed to perform checkout on agent: Failed to checkout repository version 26497: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: java.lang.IllegalArgumentException: renaming: target file already exists
팁이 있습니까?
에이전트 저장소 내부의 수정 된 파일 인 것 같습니다. 컴파일 중에 생성 된 파일과 같습니다. 깨끗한 체크 아웃을 시도하거나 상담원에게 가서 보류중인 변경 사항이 있는지 확인할 수 있습니다. –