Ebeid ElSayed
Ebeid ElSayed

Reputation: 1156

Allow certain users to by-pass the gated check-in on TFS

I want to enable the gated check-in trigger for my TFS Build but also want to have a way to specify users who can commit their code directly without waiting to TFS to verify their code changes.

enter image description here

Upvotes: 3

Views: 3061

Answers (2)

Yannick Katambo
Yannick Katambo

Reputation: 41

For TFS 2015 Right click on the build definition, select security.Then change Override check-in validation by build to Allow

enter image description here

Upvotes: 1

DaveShaw
DaveShaw

Reputation: 52798

If you edit the "Security" of the build definition:

Build definition

There is a permission you can control called "Override check-in validation by build" (or similar, I don't have TFS 2012 to hand, I'm using VSTS for the screen shots).

definition permissions

Grant certain people this permission and they can bypass the validation.

When they check-in code they will get the usual Gated Build prompt, but under "Show Options" there is a checkbox to bypass the validation:

Bypass gated build

By default Project Administrators and upwards have this permission.

Upvotes: 5

Related Questions