如何在TFS 2015中控制构建执行 [英] How to control build execution in TFS 2015

查看:79
本文介绍了如何在TFS 2015中控制构建执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1。开发人员A是团队成员 - 团队项目的"贡献者"和"项目有效用户"T1

   他需要执行所有开发活动,例如签入,签出,合并。
$
2.为此团队项目T1配置了3个版本。一个用于构建和复制工件到Dev,QA和Production服务器。

   目前,'A'无法修改构建,但他可以执行(队列构建)构建。



我们需要控制此构建执行。我们只需要很少的成员(项目所有者)来执行QA和Prod的构建(和部署)。

请告知如何提供控制相同的权限。

解决方案

您好Anuj.TataSteel,


感谢您在此发帖。


所以你不要是否希望开发人员A拥有对这些构建定义进行排队的权限?如果是这样,在TFS Web访问页面中,找到这些构建定义 - >右键单击构建定义 - >选择
安全性 - >设置队列构建
的权限拒绝。
如果您希望贡献者中的所有用户不为构建定义排队,您可以将此权限设置为拒绝整个组。如果您只希望一个用户不对队列进行排队,请添加该用户并将权限设置为拒绝。



1. Developer A is member of group - 'Contributors' and 'Project Valid Users' for team project T1
    He is required to perform all development activities like check-in, check-out, merge

2. There are 3 builds configured for this team project T1. One each to build and copy artifacts to Dev, QA and Production servers.
    Currently  'A' is not able to modify the build but he can execute (queue build) the builds.

We need to control this build executions. We want only few members (project owner) to execute the build (& deployment) of QA and Prod.
Please advise how to provide the authority to control the same.

解决方案

Hi Anuj.TataSteel,

Thank you for posting here.

So you don't want Developer A to have the permission to queue those build definition? If so, in TFS web access page, find those build definitions-->right-click the build definition-->Choose Security-->Set Queue builds permission to Deny. If you want all users in Contributors not to queue a build for a build definition, you could set this permission to deny for the whole group. If you only want one user not to queue build, add that user and set the permission to Deny.


这篇关于如何在TFS 2015中控制构建执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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