Visual Studio Team Servicesに基づいてTeamCityビルドを設定しようとしていますが、次のエラーが発生しています。TeamCity + VSTS - エージェントターゲットファイルでチェックアウトを実行できませんでした
私は、ファイルがチェックアウトディレクトリにダウンロードされていることがわかります(C:仕事の\ e3b96b8eb42644db \ \チームシティー\ 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
任意のヒント?
エージェントリポジトリ内の変更されたファイルのようです。コンパイル中に生成されたファイルと同じです。きれいなチェックアウトを試みるか、エージェントに行き、保留中の変更があるかどうかを確認してください。 –