Friday, August 1, 2008

VSTS Check-in policy requiring successful build

I was looking for a build policy that required the developer to have successfully built all projects before being able to check things in. You'd think the Build Check-in Policy would cover this, but it does something totally different, and really not that useful. It basically just lets all the developers see who screwed up the latest Build Server builds :)

Anyway, I found the answer. You just enable the Code Analysis policy. Even with un-checking all the rules and options, it will require a successful build to check in code--well at least give them the hassle of overriding it, which you can't turn off, but that's another story and complaint.

0 comments: