0

"Patch is broken" on initial clone of new project

Hello

I'm setting-up a new TC project for an old repo to bring this particular app into our CI process. However, the repo won't clone via TeamCity. The repo is large, it had some perf tracing logs accidentally checked-in once upon a time, but it does clone using msysgit for Windows we're all using. The Git repo's are on a Linux VM.

Any suggestions? Can I clone it myself and somehow move it into position in the agent's work folder? Can I configure TC to use the Git that's installed in the OS?

Thanks

Luke (TC 7.1.4)

[14:24:19]Patch is broken, can be found in file: E:\TeamCity\buildAgent\temp\globalTmp\temp17657495653462715patch_838

[14:24:19]Failed to build patch for build #1.0.0.1 {build id=838}, VCS root: ssh://git@gitservername/~/ProductName.git#master {instance id=61, parent id=34}, due to error: Cannot find commit 84a588f66f458a59acac4124ffe71677bf7a06c2 in repository (E:\TeamCity-Configuration\system\caches\git\git-14E74081.git, ssh://git@gitservername/~/ProductName.git#master) jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Server was not able to build correct patch, most likely due to VCS errors at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.throwError(PatchDownloaderImpl.java:114)      at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:104)      at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.copyPatchAndCheck(PatchDownloaderImpl.java:65)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesPatcherBase.copyPatchToTempFile(UpdateSourcesPatcherBase.java:70)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromServer.updateSources(UpdateSourcesFromServer.java:62)


12 comments

Please sign in to leave a comment.