title: Tfs 2010 Build: Continuous Integration and Gated Check-In together?
body: <p>I already have a CI build running on my Tfs2010 instance, but I'd like to get a Gated checkin build running as well. There are subtle differences between the ways I would like these two builds would run, however. Specifically, I'd like the Gated checkin to not produce bug workitems on failure, not associate changesets and workitems on build, not move builds to the drop, and not maintain previous builds. Since builds initiated by Gated checkins are uncommitted changes, these steps seem unnecessary to me, but I would definitely like the CI build to perform these functions.</p>
  
  <p>Unfortunately, there's this <strong><em>NO_CI</em></strong> thing that appears on my changesets after they're committed by the Gated Checkin build, and the CI build is never triggered. I found <a href="http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/cff735c5-403a-48ed-bd5c-5cbb26a0c089" rel="noreferrer">this thread</a> that seemed to indicate that my DefaultTemplate.xaml should have a "Get Activity" NO_CIOption parameter in there somewhere; however nothing in the configuration file seems to indicate anything of the sort. Neither string is present, and I can't find any reference documentation in the msdn library.</p>
  
  <p>In fact, in the msdn library, there's <a href="http://msdn.microsoft.com/en-us/library/ms400688.aspx" rel="noreferrer">a page</a> that seems to link to the page I want, however where the link would actually be there's a misplaced, duplicate link to "Control where the build system places your binaries." You can see the identical link directly below it.</p>
  
  <p>Anyhow: how is the NO_CIOption parameter used in the build template files? Where is it placed? Has no anyone else ever wanted to do this before?</p>
  
  <p>Side note: is it bad practice to cross-post between SO and the MSDN forums?</p>