问题描述
我们使用了一些针对TFS2010开发的,经过调整的构建过程模板,用于所有构建,但是这些BPT并非通过任何自定义活动使用.我们最近升级到TFS2012,并在升级过程中根据这些指令.
We use a few tweaked Build Process Template, developed for TFS2010 for all of our builds, but these BPTs are not using any custom activities. We recently upgraded to TFS2012, and during the upgrade converted our BPTs according to these instructions.
在大多数情况下,此方法工作正常,但有时会咳嗽:
This works fine, most of the time, but periodically, it coughs up:
任何日志中都没有任何内容,无论如何我都看不到任何可见的根本原因.唯一的解决方法是重新启动构建控制器,这时错误消失了几个小时.当我注销并重新注册Controller时,问题消失了大约一天.
There's nothing in any log, there's nothing visible that I can see as the root cause in any way. The only fix is to restart the Build Controller, at which time the error vanishes for a few hours. When I unregistered and re-registered the Controller, the problem went away for about a day.
这里重要的是,这些构建过程模板确实可以在TFS2012上工作,但是随后它们突然停止工作,而我无法确定.
The important thing here is that these build process templates do work on TFS2012, but then they suddenly stop working for no reason I can determine.
推荐答案
事实证明,某些构建仍在使用旧版2010样式的构建过程模板.每当有人将其中一个版本排队时,整个构建控制器就会开始崩溃.通过消除这些BPT,我们解决了该问题.
As it turns out, some builds were still using legacy 2010-style Build Process Templates. Any time someone queued one of those builds, the entire build controller started freaking out. By getting rid of those BPTs, we resolved the issue.
这篇关于TFS2012升级-有时由于TF215097"DynamicActivity"而导致构建失败错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!