TFS 构建服务向导在 'Edit collection-level information' 权限设置为允许时失败

标签 tfs tfsbuild build-server azure-devops

我正在尝试设置 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 是该组的成员,否则构建可能会失败。

要设置权限,请执行以下步骤:

  1. 打开团队资源管理器
  2. 连接到应该使用构建服务的 TeamProjectCollection
  3. 右键单击根以获取上下文菜单
  4. 选择“团队项目集合设置 -> 安全”
  5. 选择“项目集合构建服务帐户”
  6. 设置“编辑集合级别信息”权限
  7. 使用 ok 关闭对话框

现在该帐户具有所需的权限,向导应该会运行到这一点。

关于TFS 构建服务向导在 'Edit collection-level information' 权限设置为允许时失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13609076/

相关文章:

visual-studio - 由于更改冲突,无法 checkin

tfsbuild - TFS 构建服务器上的项目 TargetDir

visual-studio-2010 - 在编译时将引用路径从 GAC 更改为文件夹

tfs - 团队构建错误 : The Path . .. 已映射到工作区

azure - 在 Azure 或 AWS 上托管 TFS

unit-testing - 由于找不到 "TechTalk.SpecFlow"文件,SpecFlow 单元测试失败

tfs - 任务已从 TFS 发布定义中删除

azure-devops - 在构建任务中强制执行 PowerShell

mocking - BDD 和模拟框架的哪种组合可以与 Team Build 门控 checkin 一起使用?

svn - TeamCity:使用工件的文件版本标记 VCS(Subversion)