TeamCity / Mercurial - 破损补丁

时间:2011-12-01 09:55:20

标签: mercurial teamcity

我已经设置了TeamCity(v6.5.5 - build 18087)来从Mercurial构建一个ASP.NET项目。现在我有56次构建中的两次我得到了下面的错误,我能看到的唯一共同点是这些变更集已经添加了文件。

如果我清除服务器的mercurial缓存,我会在下次之前得到问题的rif,但这不是一个很好的解决方案。

我看过有类似问题的人的帖子,但是没有找到解决方法。

如果有人能指出我在这里正确的方向,我将感激不尽。

来自TeamCity构建日志:

[20:54:21]: Patch is broken, can be found in file: C:\BuildAgent\temp\cache\temp547491181020464280patch_64 
[20:54:21]: Failed to build patch for build #56 {build id=64}, VCS root: mercurial: http://server:8000 {instance id=1, parent id=2}, due to error: 'cmd /c hg cat -o C:\TeamCity\temp\mercurial9111169551826812670catresult\%p -r 75f205de9192 website\MasterPage.master website\MasterPage.master.designer.cs website\OurProject.csproj website\Login.aspx website\Login.aspx.designer.cs website\apage.aspx website\apage.aspx.designer.cs website\anotherpage.aspx website\anotherpage.aspx.designer.cs website\thirdpage.aspx website\thirdpage.aspx.designer.cs' command failed. stderr: abort: data/website/thirdpage.aspx.i@2b64b5d6eb86: no match found! 

jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Server was not able to build correct patch, most likely due to VCS errors, will try again. at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.throwError(PatchDownloaderImpl.java:113) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:103) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.copyPatchAndCheck(PatchDownloaderImpl.java:64)...

0 个答案:

没有答案