<?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>Team Foundation's WebLog : Build Automation</title><link>http://blogs.msdn.com/team_foundation/archive/tags/Build+Automation/default.aspx</link><description>Tags: Build Automation</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Team build setup failing for beta 2 bits?</title><link>http://blogs.msdn.com/team_foundation/archive/2005/04/26/412118.aspx</link><pubDate>Tue, 26 Apr 2005 14:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:412118</guid><dc:creator>Team Foundation</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/team_foundation/comments/412118.aspx</comments><wfw:commentRss>http://blogs.msdn.com/team_foundation/commentrss.aspx?PostID=412118</wfw:commentRss><description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Have you&amp;nbsp;been trying to get Team Build working and keep getting a 'Build Machine is not reachable' error ? If yes then make sure you have installed Team Build SKU from \vstf\bb folder.&lt;/P&gt;
&lt;P&gt;Another point to note : In case you are trying to install&amp;nbsp;Team Build&amp;nbsp;on win 2K3 SP1, the setup will fail. &lt;/P&gt;
&lt;P&gt;Its a known issue in beta 2 and we are working on fixing it. However here is a workaround for you to get going &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Start the Windows Firewall/Internet Connection Sharing service which is disabled by default in win2k3 sp1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Trying installing Team Build again &lt;/P&gt;
&lt;P&gt;You should be good to go now :)&amp;nbsp;- have fun and let us know&amp;nbsp;all that you think about&amp;nbsp;the product&amp;nbsp;!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Khushboo&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=412118" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/team_foundation/archive/tags/Build+Automation/default.aspx">Build Automation</category></item><item><title>Overview of Team Build </title><link>http://blogs.msdn.com/team_foundation/archive/2005/03/02/383479.aspx</link><pubDate>Wed, 02 Mar 2005 13:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:383479</guid><dc:creator>Team Foundation</dc:creator><slash:comments>25</slash:comments><comments>http://blogs.msdn.com/team_foundation/comments/383479.aspx</comments><wfw:commentRss>http://blogs.msdn.com/team_foundation/commentrss.aspx?PostID=383479</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;Hi, my name is Khushboo Sharan and I am the Program Manager for the build automation tool in Visual Studio Team Foundation. This is my first blog to you and I have tons to write about Team Build!&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;You may have heard this in all TeamBuild presentations and talks but nevertheless let me repeat it again (because nothing else fits better &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Wingdings; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;i&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;One of the goals of Team Build is to provide a ‘build lab out of the box’ experience.&lt;/span&gt;&lt;/i&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt; As Lori sometime back mentioned– sure you can hit F5 to get that build out but to get a good public ‘&lt;i&gt;team build’&lt;/i&gt; is a very a difficult task - cause you are building all source code in the team project, including changes by the entire development team, on a separate build machine. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;A typical public build involves many steps - &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;clean the remote build machine, get the sources from the source control on the build machine, compile, run static analysis, run the build verification or post-build tests and then communicate the build result to the Project Team. Many of you might be doing something similar in your build scripts. What Team Build provides is a very simple &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;way to kick start this build process – you go through a simple five page wizard and what you generate is a build script. &lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;Here is a screenshot of the wizard which helps you do this. &lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;img alt="Build Type Creation Wizard" src="http://s3bhatia.members.winisp.net/images/blog/wizard.jpg" border="0" /&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;This build script automates the entire build process listed above and more. Once you have an out of the box build process running out of Team Build, you can edit the build script in case you need to further customize or extend the process. To provide this end to end integration described above, Team Build integrates seamlessly with other Team System tools like Team Foundation Source Control, Team Foundation Work Item Tracking, and Team Test .&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;Once the build process is over –a comprehensive report is generated with information about the build result as well as the general health of the build.&amp;nbsp; Some of the things included in the report are the number of errors and warnings for each build configuration with links to the log files, results of the test runs included in the build, a list of changesets that went into the build and who checked it in (which could be used to detect the cause of failure of a build). Other information like the code coverage of the tests, work items associated with a build are also listed (which could be used to determine the quality of the build). The report has active links to changesets, work items, test results for further details. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;Lets take a scenario as an example to illustrate all of this a little better. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;A developer has just looked at a work item assigned to him and fixes his code. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;While checking into Team Foundation Source Control, he associates the work item with the checkin. Team Build picks up the source for the nightly build and as a post build step updates the ‘Fixed In’ field of the work item with the build number automatically. The build report which is generated lists all the work items which were associated with this build. The tester looks into it to make sure the work item opened by her was resolved in this build and installs the build for further investigation. This is a small example of an integration points between the Team Foundation Source Control, Work Item Tracking Tool and Team Build.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;The following diagram explains the Team Build flow as described above&lt;/span&gt;&lt;/p&gt;&lt;img alt="Team Build Flow" src="http://s3bhatia.members.winisp.net/images/blog/flowdiag.jpg" border="0" /&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;But what if your organization has a slightly different build process than what Team Build provides out of the box and has some extra build steps? &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;Fortunately, Team Build can be customized to suit your needs. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;The underlying build engine is MSBuild and most of the steps in the build process are MSBuild tasks. All that you need to do is to write an MSBuild task which executes the extra steps and include it in the build script generated by the wizard. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;Through some simple editing you can specify the order in which this custom step needs to run. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;Well - this was a snapshot of what Team Build has to offer, we will be discussing all this in detail in future blogs. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;Meanwhile lets hear from you. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;Let us know your thoughts/feedback /ideas – whatever they may be! We want to hear it all &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Wingdings; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=383479" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/team_foundation/archive/tags/Build+Automation/default.aspx">Build Automation</category></item></channel></rss>