I have a build in TFS 2008 that gets triggered for every check-in, and what I need is following
- If the source code checkedin by the developers has any errors, then the code changes should not be checked in
- If any of the tests fails in the test project, then the code changes should not be checked in
- If the build script fails for any reason then then the code changes should not be checked in
I have the following queries:
- Does the Buddybuild solves this problem?
- When i trigger the build via Buddy build -> "Queue a check-in validation build" menu, it does not immediately appear in the Build Explorer. It only appears when the build has completed ?
- When i trigger the build via Buddy build -> "Queue a check-in validation build" menu, it runs the build twice and in the build explorer it appears twice?
- I run some unit tests as part of my build script (standard way), however when the unit tests fails, the buddy build still checkin the code ? How can i make sure that the checkins are not applied when the test fails or if the build fails for any reason?
Awaiting
Nabeel Farid