{"id":1903,"date":"2007-09-21T00:00:00","date_gmt":"2007-09-21T00:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2007\/09\/21\/preview-of-the-build-notification-tray-applet-power-tool-for-tfs-2008\/"},"modified":"2007-09-21T00:00:00","modified_gmt":"2007-09-21T00:00:00","slug":"preview-of-the-build-notification-tray-applet-power-tool-for-tfs-2008","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/preview-of-the-build-notification-tray-applet-power-tool-for-tfs-2008\/","title":{"rendered":"Preview of the build notification tray applet power tool for TFS 2008"},"content":{"rendered":"<p><P><STRONG>[UPDATE 12\/21\/07]&nbsp; The build notification tool has now become part of the <\/STRONG><A href=\"http:\/\/msdn2.microsoft.com\/en-us\/tfs2008\/bb980963.aspx\"><STRONG>TFS Power Tools for TFS 2008<\/STRONG><\/A><STRONG>!<\/STRONG>&nbsp; It has new features and quite a few fixes (not to mention that it&#8217;s a signed binary), so I&#8217;ve removed the attachment from this post.<\/P>\n<P>We would have loved to have included in TFS 2008 a build notification tray applet along the lines of <A href=\"http:\/\/confluence.public.thoughtworks.org\/display\/CCNET\/CCTray\">CCTray for CruiseControl<\/A>.&nbsp; However, we didn&#8217;t have the time in the schedule to do it.&nbsp; As a result, we&#8217;re going to be releasing one as a power tool.<\/P>\n<P>You may remember seeing the <A href=\"http:\/\/blogs.msdn.com\/jimlamb\/archive\/2007\/05\/15\/build-notification-applet.aspx\">spec<\/A> for this on <A href=\"http:\/\/blogs.msdn.com\/jimlamb\">Jim Lamb&#8217;s blog<\/A>.&nbsp; Swaha Miller, a developer on Team Build, implemented this tool, and I&#8217;ve attached the binary to this post to provide a preview and get your feedback.&nbsp; Disclaimer: Please note that this is not official software, has bugs, may burn up your computer, etc.&nbsp; In other words, you accept full responsibility for it if you choose to run it.<\/P>\n<P>When you run it, you&#8217;ll see a balloon tip in your system tray (I have my taskbar docked to the right-hand side of my screen).&nbsp; The applet automatically configures itself to run when you log into your computer.&nbsp; Don&#8217;t worry, though.&nbsp; You get the option of removing that if you shut down the applet.<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/buildnotballoon.png\"><IMG height=\"105\" alt=\"Start up balloon\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/buildnotballoon_thumb.png\" width=\"312\" border=\"0\"><\/A> <\/P>\n<P>When you click on the balloon, you&#8217;ll be able to select which build definitions you would like to monitor.&nbsp; The list of servers is retrieved from the registry location that Team Explorer stores them.&nbsp; If you&#8217;ve never used Team Explorer before, there won&#8217;t be any servers listed.<\/P>\n<P>Here I&#8217;m going to monitor the HelloworldTest builds in the VSTS V2 Plans team project.&nbsp; You can monitor as many builds as you like and on multiple servers, but I&#8217;m just monitoring one build.&nbsp; I&#8217;ve chosen to be notified when a build is started and finished, regardless of who kicked it off.&nbsp; Note that you can filter the build definitions if you have a lot to deal with.<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/configurebuildnot.png\"><IMG height=\"495\" alt=\"Configure Build Notifications\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/configurebuildnot_thumb.png\" width=\"341\" border=\"0\"><\/A> <\/P>\n<P>It turns out that the last time this build executed, it was successful.&nbsp; You&#8217;ll notice the tray applet&#8217;s icon has a green circle with a check mark in it.<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/lastbuildgood.png\"><IMG height=\"64\" alt=\"Last build was good\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/lastbuildgood_thumb.png\" width=\"93\" border=\"0\"><\/A> <\/P>\n<P>Let&#8217;s kick off a new build and see what happens.&nbsp; Here&#8217;s the notification that the build is starting.&nbsp; The Stop Build link on the &#8220;toast&#8221; window allows you to stop the build, if you don&#8217;t want it.&nbsp; For those of you paying really close attention, you&#8217;ll notice that this is the .3 build.&nbsp; I missed capturing a screen shot earlier.<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/notificationstarted.png\"><IMG height=\"106\" alt=\"Build started notification\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/notificationstarted_thumb.png\" width=\"293\" border=\"0\"><\/A> <\/P>\n<P>Meanwhile, the tray applet&#8217;s icon changes to show a green triangle &#8220;playing&#8221; icon, indicating a build is in progress.<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/buildinprogress.png\"><IMG height=\"54\" alt=\"Build is in progress\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/buildinprogress_thumb.png\" width=\"105\" border=\"0\"><\/A> <\/P>\n<P>When the build completes, you can see that I&#8217;ve broken the build.&nbsp; By clicking on the popup window, you can view the build details in a web browser.&nbsp; If you click the little triangle in the upper right corner, you&#8217;ll get a menu with other options.&nbsp; In this case, it turns out that the drop location that I specified didn&#8217;t exist.<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/brokennotification.png\"><IMG height=\"120\" alt=\"Build failed notification\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/brokennotification_thumb.png\" width=\"313\" border=\"0\"><\/A> <\/P>\n<P>Now the applet&#8217;s icon shows a red circle with an &#8216;X&#8217; in it, indicating that the last build is broken.<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/lastbuildbad.png\"><IMG height=\"57\" alt=\"Last build was broken\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/lastbuildbad_thumb.png\" width=\"89\" border=\"0\"><\/A> <\/P>\n<P>If you want to learn more about this build, you can double click on the tray applet&#8217;s icon to pop up the following window.&nbsp; If you right click on the build, you&#8217;ll get options to view the details in a web browser, delete it, etc.<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/currentbuildbroken.png\"><IMG height=\"383\" alt=\"Current Build Status\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/currentbuildbroken_thumb.png\" width=\"415\" border=\"0\"><\/A> <\/P>\n<P>I fixed the drop share problem and ran the build again.<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/notificationpartiallysucceeded.png\"><IMG height=\"105\" alt=\"Build partially succeeded notification\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/39\/2019\/03\/notificationpartiallysucceeded_thumb.png\" width=\"293\" border=\"0\"><\/A> <\/P>\n<P>As you can see, the build was only partially successful.&nbsp; What went wrong?&nbsp; Well, it&#8217;s something many of you have experienced.&nbsp; The compilation succeeded, but the test failed because Visual Studio Team System for Testers isn&#8217;t installed on the build machine!&nbsp; We have plans to make installing the unit test framework on your build server much easier in the release after TFS 2008.<\/P>\n<P>We hope you enjoy using this build notification tray app.&nbsp; Please let us know what you like and dislike and what features you would like to see in the next version by posting your comments here.<\/P>\n<P>Enjoy!<\/P>\n<DIV class=\"wlWriterSmartContent\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:13b3405d-3eee-43cd-ac0e-cd0440a00fba\">Technorati Tags: <A href=\"http:\/\/technorati.com\/tags\/tfs%202008\" rel=\"tag\">tfs 2008<\/A>, <A href=\"http:\/\/technorati.com\/tags\/team%20foundation\" rel=\"tag\">team foundation<\/A>, <A href=\"http:\/\/technorati.com\/tags\/team%20build\" rel=\"tag\">team build<\/A>, <A href=\"http:\/\/technorati.com\/tags\/build%20notification\" rel=\"tag\">build notification<\/A>, <A href=\"http:\/\/technorati.com\/tags\/cctray\" rel=\"tag\">cctray<\/A>, <A href=\"http:\/\/technorati.com\/tags\/continuous%20integration\" rel=\"tag\">continuous integration<\/A><\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[UPDATE 12\/21\/07]&nbsp; The build notification tool has now become part of the TFS Power Tools for TFS 2008!&nbsp; It has new features and quite a few fixes (not to mention that it&#8217;s a signed binary), so I&#8217;ve removed the attachment from this post. We would have loved to have included in TFS 2008 a build [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[7,8],"class_list":["post-1903","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-team-build","tag-team-foundation"],"acf":[],"blog_post_summary":"<p>[UPDATE 12\/21\/07]&nbsp; The build notification tool has now become part of the TFS Power Tools for TFS 2008!&nbsp; It has new features and quite a few fixes (not to mention that it&#8217;s a signed binary), so I&#8217;ve removed the attachment from this post. We would have loved to have included in TFS 2008 a build [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/1903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=1903"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/1903\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=1903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=1903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=1903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}