TF10139错误:tf签入命令的更改集注释策略中的内部错误 [英] TF10139 Error:Internal error in Changeset Comments Policy for tf checkin command

查看:289
本文介绍了TF10139错误:tf签入命令的更改集注释策略中的内部错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在构建定义(vNext)中添加了一个Power Shell步骤.我想在构建过程中执行Tf checkin命令来检入一个文件.对于强制性检入注释,我们只有一种检入策略.

I add a power shell step in my build definition(vNext). I want to execute Tf checkin command to checkin one file during the build process. We have only one Checkin policy for Mandatory checkin comments.

我从tf checkin命令开始,并通过了一些路障来成功检入我的文件.但是我的Changeset详细信息中仍然记录有警告,警告消息如下:

I started with tf checkin command and passed through some road blocks to successfully checkin my file. But i still have a warning logged in my Changeset details which says below warning message :

Microsoft.TeamFoundation.VersionControl.Controls.PolicyEvaluationStub   Internal error in Changeset Comments Policy. Error loading the Changeset Comments Policy policy (Object reference not set to an instance of an object.). Installation instructions: 

下面是我的命令:

tf Checkin $source_dir  /comment:"Publish new version details" /noprompt /force /bypass /override:"Publishing Version details"

我尝试浏览 M/S开发人员社区

I tried to follow some of the links provided at M/S Developer Community and MSDN Forums . They don't provide a definite answer and say that the issue is fixed in the next build agent versions. Out TFS agents or on the latest TFS build agent version (2.117.2) so i assume the fix is already included in my agent version .

我需要在我的Changeset详细信息中删除此警告消息.下面是屏幕截图

I need to get rid of this warning message in my Changeset details.Below is the screenshot

更改集详细信息中的警告消息

在这里感谢任何帮助.

推荐答案

我在Agent.Version 2.117.2旁进行了测试,PowerShell步骤失败,但是更改已成功签入.

I tested at my side with the Agent.Version 2.117.2, the PowerShell step failed, but the changes are checked in successfully.

此问题已在Agent.Version 2.122.1中修复.我用Agent.Version 2.122.1进行了测试,它可以正常工作.

The issue is fixed in Agent.Version 2.122.1. I tested with the Agent.Version 2.122.1, it's working without any error.

因此,您可以从此处Agent.Version 2.122.1或更高版本. >,然后重试.

So, you can download and install the Agent.Version 2.122.1 or later version from here, then try it again.

这篇关于TF10139错误:tf签入命令的更改集注释策略中的内部错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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