<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx</link><description>If part of your build process is to check in a file, such as an updated version file, you wouldn't want that checkin to kick off another build. You'd be stuck in an infinite loop. To prevent that problem, simply put the string ***NO_CI*** in the checkin</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4161715</link><pubDate>Wed, 01 Aug 2007 09:27:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4161715</guid><dc:creator>Ohad Oron</dc:creator><description>&lt;p&gt;I'm Sorry, but the method you mentioned for not triggering a build seems to be very un practicle. i think a better way to address the issue is to handle a configuration file with desired file types for triggering a build, for example .cs, .csproj, or a diffirent approach such as &amp;quot;listening to a specific branch - say an integration branch, and trigger a build only when something new goes in that branch. what do you think?&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4167994</link><pubDate>Wed, 01 Aug 2007 16:26:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4167994</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Ohad, I didn't describe how CI actually works in this post. &amp;nbsp;It works based on looking at the workspace mappings for build definitions that have CI turned on. &amp;nbsp;In other words, checkins into version control will not trigger CI builds unless they affect a build definition that has CI turned on.&lt;/p&gt;
&lt;p&gt;In the case where you have CI enabled for a particular part of your source tree via a build definition with that part of the tree mapped and you want to check in without triggering a build, you would put the ***NO_CI*** string in your comment.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>VSTS Links - 08/02/2007</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4189959</link><pubDate>Thu, 02 Aug 2007 17:59:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4189959</guid><dc:creator>Team System News</dc:creator><description>&lt;p&gt;Jeff Beehler on Watch out Tech Ed 2007 sessions. Rob Caron on Visual Studio Team System 2008 Team Foundation...&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4598657</link><pubDate>Tue, 28 Aug 2007 01:41:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4598657</guid><dc:creator>StevenIBSI</dc:creator><description>&lt;p&gt;The ***NO_CI*** trick worked well thanks.&lt;/p&gt;
&lt;p&gt;I am using the BuildNumberOverrideTarget target with a custom build task to checkout assemblyinfo increment the build number and check it back in. &amp;nbsp;That seems to work, but my resulting dll files all have a version number that is 1 less then it should be. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;At the start of the build I see the AssemblyInfo in the working folder has the correct number and that ver gets checked into source control, but then when the Getting Sources occurs I now have the previous version of the file with a build number 1 less then what it shoould be.&lt;/p&gt;
&lt;p&gt;Any ideas why that would be?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;--Steven&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4599191</link><pubDate>Tue, 28 Aug 2007 02:54:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4599191</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Steven, I had to think about this one for a minute, but I believe I know what's happened. &amp;nbsp;When a CI build is triggered, the system records the changeset that triggered it. &amp;nbsp;That changeset number is passed to the build as the version to use in the get.&lt;/p&gt;
&lt;p&gt;Your process to update the assemblyinfo and check it in occurs prior to the Get. &amp;nbsp;When the get runs, it's getting the version specified by the changeset that triggered the build, which is prior to your checkin that changed the assemblyinfo, and thus the files gotten by get do not include your new change to assemblyinfo. &amp;nbsp;Likewise, the label created by the build includes what was gotten and not your newly updated assemblyinfo.&lt;/p&gt;
&lt;p&gt;What you can do to fix this is to override the AfterGet target and simply get the latest version of the assemblyinfo file. &amp;nbsp;Then it will be included in the label and the build, giving your dlls the version number you expect.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4618460</link><pubDate>Wed, 29 Aug 2007 00:30:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4618460</guid><dc:creator>StevenIBSI</dc:creator><description>&lt;p&gt;The AfterGet suggestion worked. I added the following to my build definition and now my build number and dll version numbers match.&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Target Name=&amp;quot;AfterGet&amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Get Condition=&amp;quot; '$(SkipGet)'!='true' &amp;quot; Workspace=&amp;quot;$(WorkspaceName)&amp;quot; Filespec=&amp;quot;$(AssemblyVersionInfoFile)&amp;quot; &amp;nbsp;Recursive=&amp;quot;$(RecursiveGet)&amp;quot; Force=&amp;quot;$(ForceGet)&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/Target&amp;gt;&lt;/p&gt;
&lt;p&gt;I have another question/comment concerning the CI build triggers. It seemed that when I did a check-in it took about 1 minute before I saw a build in the Queued list. &amp;nbsp;And if I did multiple check-ins within that 1 minute they were all in the same build. &amp;nbsp;However if I did another check-in just a few minutes later it queued up another build.&lt;/p&gt;
&lt;p&gt;I would like to be able to specify the number of minutes (say 10) that the CI engine would wait after the first check-in until it queued up that first build. &amp;nbsp;This way instead of only having 1 minute to get in a few check-ins I would be able to have x minutes to make multiple check-ins for that first build. &amp;nbsp;So kind of like a count down clock that starts with the first check-in after a period of inactivity.&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;
&lt;p&gt;--Steven&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4619453</link><pubDate>Wed, 29 Aug 2007 01:45:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4619453</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Steven, I'm glad to hear that did the trick.&lt;/p&gt;
&lt;p&gt;The one minute delta you are seeing there is because the system checks once per minute to see if there are any new builds to queue based on checkins that have been recorded in the last minute.&lt;/p&gt;
&lt;p&gt;The fact that all of the checkins from that minute were in the same build indicates that you had the option turned on to accumulate checkins (otherwise, you would have gotten one build queued per checkin).&lt;/p&gt;
&lt;p&gt;I saw your other comment on the desire to have a delay before the first build. &amp;nbsp;When we designed the feature, we looked at it from the perspective that checkins tend to be more spread out through the day, so the first person checking in wouldn't want to wait some amount of time to find out how the build turned out. &amp;nbsp;Thus the first checkin kicks off a build immediately, and then the next build is kicked off no sooner than the delay time. &amp;nbsp;Having said that, I see what you are saying, and we'll consider adding it in a future release.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4630332</link><pubDate>Wed, 29 Aug 2007 17:58:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4630332</guid><dc:creator>StevenIBSI</dc:creator><description>&lt;p&gt;So with “Accumulate check-ins” being used I as a single developer doing say three check-ins within a few minutes period would expect all three check-ins to be in the same build. But what I would get is a build for the first check-in and then the other two check-ins as part of a second build. &amp;nbsp;And configured as “Build each check-in” I would get three separate builds, even worse.&lt;/p&gt;
&lt;p&gt;In discussions I have heard of other CI solutions they mentioned the ability to wait for a specified number of minutes of inactivity before a build would be queued.&lt;/p&gt;
&lt;p&gt;Is there any way to configure the one minute delta to be say five minutes? At least then I would have a few minutes to do the multiple check-ins before the build would start.&lt;/p&gt;
&lt;p&gt;-- Steven&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4650408</link><pubDate>Thu, 30 Aug 2007 20:24:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4650408</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;No, there's no way to configure a delay before the build starts in TFS 2008. &amp;nbsp;We'll add it to the feature backlog for Rosario, though.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4787748</link><pubDate>Thu, 06 Sep 2007 17:31:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4787748</guid><dc:creator>PaulM</dc:creator><description>&lt;p&gt;Does CI in TFS 2005 look at the workspace mappings for build definitions that have CI turned on. I tried checking something into a non-mapped (and even cloaked) area of Source Control, and it always kicks off a new build.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4787914</link><pubDate>Thu, 06 Sep 2007 17:40:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4787914</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Paul, TFS 2005 didn't support CI in the box. &amp;nbsp;What CI solution have you chosen to use with TFS 2005? &amp;nbsp;Chances are whatever it is looks for the TFS CheckinEvent for a team project or something fairly high-level like that.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4790381</link><pubDate>Thu, 06 Sep 2007 20:21:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4790381</guid><dc:creator>PaulM</dc:creator><description>&lt;P&gt;I followed the steps outlined here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms364045" target=_new rel=nofollow&gt;http://msdn2.microsoft.com/en-us/library/ms364045&lt;/A&gt;(VS.80).aspx&lt;/P&gt;
&lt;P&gt;It sounds like I need to remove the alert I created and set one up as you described in this blog:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/buckh/archive/2006/09/29/checkinevent-path-filter.aspx" target=_new rel=nofollow&gt;http://blogs.msdn.com/buckh/archive/2006/09/29/checkinevent-path-filter.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#4790588</link><pubDate>Thu, 06 Sep 2007 20:54:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4790588</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Paul, that's correct. &amp;nbsp;Looking at that article, the subscription it shows would register for all checkin events on the entire server. &amp;nbsp;The checkin event filter blog post you reference is the right way to go about scoping it down to the paths you care about.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>Did You Know You Could...?</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#8376497</link><pubDate>Fri, 11 Apr 2008 00:00:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8376497</guid><dc:creator>Ravings of a Developer TS</dc:creator><description>&lt;p&gt;Did you know you could disable a Continuous Integration build process from firing as result of a check-in&lt;/p&gt;
</description></item><item><title>Altre modifiche per passare da Team Build 2005 a Team Build 2008</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#8404501</link><pubDate>Thu, 17 Apr 2008 23:18:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8404501</guid><dc:creator>Normal people bore me!</dc:creator><description>&lt;p&gt;Altre modifiche per passare da Team Build 2005 a Team Build 2008&lt;/p&gt;
</description></item><item><title>TFS 2008 CI : Scheduling Multiple fixed schedule daily builds</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#9463339</link><pubDate>Fri, 06 Mar 2009 22:37:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9463339</guid><dc:creator>randy kibbe</dc:creator><description>&lt;p&gt;Buck,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;On a related subject is there anyway to setup TFS CI to build the same TFSBuild.proj multiple fixed times a day ? It seems you can only schedule it once a day. Which seems very impractical. The build takes too long for setting it up for checkin triggers. &lt;/p&gt;
</description></item><item><title>re: TFS 2008: How to check in without triggering a build when using continuous integration</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#9468571</link><pubDate>Tue, 10 Mar 2009 05:42:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9468571</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Randy, there's no way to set it to trigger at multiple fixed times per day, but you can set it to accumulate checkins for CI. &amp;nbsp;That way the build won't get behind (i.e., you won't end up with multiple queued builds).&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item><item><title>No CI Build on Check-in</title><link>http://blogs.msdn.com/buckh/archive/2007/07/27/tfs-2008-how-to-check-in-without-triggering-a-build-when-using-continuous-integration.aspx#9651381</link><pubDate>Fri, 29 May 2009 05:01:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9651381</guid><dc:creator>Dave Lloyd's 2 Cents</dc:creator><description>&lt;p&gt;Found this out just this past week. What a great tip. Thanks Colin Bowern by way of Buck Hodges Have&lt;/p&gt;
</description></item></channel></rss>