TFS2012升级-有时由于TF215097"DynamicActivity"而导致构建失败错误 [英] TFS2012 Upgrade - Builds sometimes failing with TF215097 "DynamicActivity" error

查看:94
本文介绍了TFS2012升级-有时由于TF215097"DynamicActivity"而导致构建失败错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用了一些针对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:

TF215097:初始化构建定义\ Project1(Dev10)\ Simple的构建时发生错误-手动:为root活动的参数提供的值不满足root活动的要求: 'DynamicActivity':对于名为'BuildSettings'的参数,预期输入类型为'Microsoft.TeamFoundation.Build.Workflow.Activities.BuildSettings'的输入参数值.

TF215097: An error occurred while initializing a build for build definition \Project1 (Dev10)\Simple - Manual: The values provided for the root activity's arguments did not satisfy the root activity's requirements: 'DynamicActivity': Expected an input parameter value of type 'Microsoft.TeamFoundation.Build.Workflow.Activities.BuildSettings' for parameter named 'BuildSettings'.

任何日志中都没有任何内容,无论如何我都看不到任何可见的根本原因.唯一的解决方法是重新启动构建控制器,这时错误消失了几个小时.当我注销并重新注册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"而导致构建失败错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆