简体   繁体   English

TFS 构建服务向导在“编辑集合级别信息”权限设置为允许时失败

[英]TFS Build Service Wizard Failing on 'Edit collection-level information' permission set to Allow

I'm trying to setup a TFS Build service but the config wizard keeps bombing out on Edit collection-level information permissions, which I have set as required.我正在尝试设置 TFS 构建服务,但配置向导不断轰炸我已根据需要设置的编辑集合级别信息权限。

There isn't much background information for this, its a new 2003 virtual sever with nothing but TFS build service installed.没有太多背景信息,它是一个新的 2003 虚拟服务器,只安装了 TFS 构建服务。 The only other Warning I get is about no firewall being installed so I cant see that interfering.我得到的唯一其他警告是没有安装防火墙,所以我看不到干扰。 The section of interest in the log is below.日志中感兴趣的部分如下。

Verify: Verify that the running account has the required Team Foundation Server permissions(TBRUNNINACOUNT): Starting Verification
TF279000: User domain\user.name does not have permission to add members to the Build Services group. To perform this action, the user must have the 'Edit collection-level information' permission set to Allow.
!Verify Error!: TF279000: User domain\user.name does not have permission to add members to the Build Services group. To perform this action, the user must have the 'Edit collection-level information' permission set to Allow.
"Verify: Verify that the running account has the required Team Foundation Server permissions(TBRUNNINACOUNT): Exiting Verification with state Completed and result Error"
!Verify Result!: 1 Completed, 0 Skipped: 0 Success, 1 Errors, 0 Warnings

Any help is greatly appreciated, I have no idea where to go from here.非常感谢任何帮助,我不知道从哪里开始。

Thanks, Tom.谢谢,汤姆。

I'm not sure why your Build should edit something on Collection level, but what should solve the problem is to add the permission to the "Project Collection Build Service Accounts".我不确定为什么您的构建应该在集合级别编辑某些内容,但是应该解决问题的是将权限添加到“项目集合构建服务帐户”。 I expect that TBRUNNINACOUNT is member of this group, otherwise the build might fail.我希望 TBRUNNINACOUNT 是该组的成员,否则构建可能会失败。

To set the persmission do the following steps:要设置权限,请执行以下步骤:

  1. Open Team Explorer打开团队资源管理器
  2. connect to the TeamProjectCollection the build service should be used for连接到应使用构建服务的 TeamProjectCollection
  3. Right click on the root to get the context menu右键单击根以获取上下文菜单
  4. choose "Team Project Collection Settings -> Security"选择“团队项目集合设置-> 安全”
  5. select the "Project Collection Build Service Accounts"选择“项目集合构建服务帐户”
  6. set 'Edit collection-level information' permission设置“编辑收藏级信息”权限
  7. Close dialogs by using ok使用 ok 关闭对话框

Now the account has the needed permission and the wizard should run through that point.现在该帐户具有所需的权限,向导应该会运行到该点。

I had the same issue as basically I was picking up from where Tom left off.我遇到了同样的问题,基本上我是从汤姆离开的地方接过来的。

On the TFS Server used for the source control I added my AD user account to the Project Collection Build Administrators group and it worked.在用于源代码控制的 TFS 服务器上,我将我的 AD 用户帐户添加到 Project Collection Build Administrators 组并且它工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM