我正在尝试设置 TFS 构建服务,但配置向导不断地破坏我已根据需要设置的编辑集合级信息权限。
这方面的背景信息不多,它是一个新的 2003 虚拟服务器,只安装了 TFS 构建服务。我收到的唯一其他警告是没有安装防火墙,所以我看不到干扰。日志中感兴趣的部分如下。
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
非常感谢任何帮助,我不知道从这里去哪里。
谢谢,汤姆。
最佳答案
我不确定为什么你的构建应该在集合级别编辑一些东西,但应该解决问题的是添加对“项目集合构建服务帐户”的权限。我希望 TBRUNNINACOUNT 是该组的成员,否则构建可能会失败。
要设置权限,请执行以下步骤:
- 打开团队资源管理器
- 连接到应该使用构建服务的 TeamProjectCollection
- 右键单击根以获取上下文菜单
- 选择“团队项目集合设置 -> 安全”
- 选择“项目集合构建服务帐户”
- 设置“编辑集合级别信息”权限
- 使用 ok 关闭对话框
现在该帐户具有所需的权限,向导应该会运行到这一点。
关于TFS 构建服务向导在 'Edit collection-level information' 权限设置为允许时失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13609076/