Reputation: 1156
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.
Upvotes: 3
Views: 3061
Reputation: 41
For TFS 2015 Right click on the build definition, select security.Then change Override check-in validation by build to Allow
Upvotes: 1
Reputation: 52798
If you edit the "Security" of the 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).
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:
By default Project Administrators and upwards have this permission.
Upvotes: 5