Reputation: 1167
Using VS2012, Team Foundation Service with GIT as my source control provider - I am attempting to create a build definition that uses the "Gated Check-In" option - however - this option is not enabled on the Trigger tab of the build definition creator.
Does anyone know if gated check-ins are available as a build trigger option when using Team Foundation Service and GIT?
Google has not provided the answer - maybe I have not entered the correct terms...
Thanks in advance.
Upvotes: 1
Views: 1138
Reputation: 60443
Things like this are done in git hooks, which as of April Microsoft hadn't implemented in their partial re-implmementation of git. That's Microsoft's official Visual Studio Team Foundation Service forum. and about the absence of git hooks its owner has this to say:
Hi,
Currently we don't have this feature. You can help us prioritize this by submitting suggestions at http://visualstudio.uservoice.com/forums/121579-visual-studio/category/30925-team-foundation-server.
Upvotes: 0
Reputation: 10863
We've simplified the build process parameters. And of course now you can to build the code you store in a Git team project, and you can generally do everything you can do with code stored in a TFVC team project. One notable exception: you cannot define a gated check-in build in a Git team project.
There must be some alternative for it. Now I need to find that out.
Upvotes: 1