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 runs a 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. You need 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 test to 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.

  Discussion forum

Question
0

Leave an answer