Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. You
create a new build definition and select the Continuous Integration trigger. The build definition runsa build
verification test. You discover that the build fails because the build verification test has not passed, even
though compilation of the source code succeeds. Youneed to prevent further check-ins until the code passes
the build verification test and the build succeeds.What should you do?
A.
Enable the Builds check-in policy.
B.
Configure the build definition’s source control folders to be read-only for the other developers.
C.
Enable the Testing check-in policy. Select the same test that is used as the build verification testto be run
and passed for the check-in to succeed.
D.
Configure the server-side check-in event handler to roll back if the earlier build has failed.
A: https://www.visualstudio.com/en-us/docs/tfvc/add-check-policies
Builds check-in policy – Requires that the last build was successful before a check-in.