TFS 2015中代理队列用户的最佳实践? [英] Best practice for Agent Queue Users in TFS 2015?

查看:123
本文介绍了TFS 2015中代理队列用户的最佳实践?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在某些沙箱和测试环境中安装了带有更新3的Team Foundation Server(TFS)2015。在每种环境中,我都必须手动将用户添加到代理队列用户组,以使任何用户都可以开始构建。



艾哈迈德·阿萨德(Ahmed Al-Asaad)在博客上发表了有关如何做到这一点的信息此处



我找不到任何Microsoft文档描述了谁应该是代理队列用户组的成员,这让我感到困惑,为什么该组为空。我找到的最接近的文档是,但仅仅是指出我可以将用户添加到组中。



似乎违反直觉的是,默认情况下不允许任何用户对构建进行排队。这是首先安装TFS的主要原因之一。我希望我的用户可以随时签入并进行构建。



这也使我感到困惑,我必须将用户添加到与用户所属团队项目的安全管理完全分开的组中。 p>

有人可以给我指出一些有关此主题的最佳做法吗?



欢呼迈克尔

解决方案

默认情况下,您的Build Administrators在您的代理队列中被赋予Administrator角色。如果您还希望允许其他人使用队列,则需要添加他们。



最佳做法是添加一个群组(例如, {your-project} \贡献者)。如果希望用户可以访问所有代理队列,则可以选择所有队列,然后将组 {your-project} \参与者添加到代理队列用户组。如果只希望这些用户访问特定的代理队列,则将组 {your-project} \Contributors 添加到特定代理队列的Agent Queue Users组。


I have installed Team Foundation Server (TFS) 2015 with update 3 in some sandbox and test environments. In each environment I have to manually add users to the Agent Queue Users group to make it possible for any user to start a build.

Ahmed Al-Asaad has blogged about how to do just that here.

I have failed to find any Microsoft documentation that describes who should be members of the Agent Queue Users group and it baffles me why the group is empty. The closest documentation I've found is this but it just states that I can add users to the group.

It seems counterintuitive that no user per default is allowed to queue a build. That is one of the main reasons for installing TFS in the first place. I want my users to check-in and build all the time.

It also confuses me that I have to add users to the group completely separated from the security administration of the Team Project(s) the user is a member of.

Can anybody point me to some description of best practice on this topic?

Cheers Michael

解决方案

By default your Build Administrators are given the Administrator role in your agent queues. If you want other people to also be permitted to use the queue, you'll need to add them.

The best practice is to add a group (for example, {your-project}\Contributors) to Agent Queue Users. If you want your users can access all agent queues, you can select All Queues and then add the group {your-project}\Contributors to Agent Queue Users group. If you only want these users to access a particular agent queue, then add the group {your-project}\Contributors to the Agent Queue Users group of the particular agent queue.

这篇关于TFS 2015中代理队列用户的最佳实践?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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