Where is the build log located in Team Foundation Server 2010?

浪子不回头ぞ 提交于 2019-12-06 02:43:51
paulselles

The entire build log can be found in the Tfs_YourTeamProjectCollection database in the Tbl_BuildInformation. The Tbl_BuildInformation table contains self referencing entries to preserve the build log hierarchy, and all the build information is saved in XML. The information is saved as different node types which correspond to different build activities.

If you are interested in going down that route, I go into a little more detail in my blog. It is a bit much to post here.

You can view the log file by using the TFS web access link. See this MSDN post for more details. I just used this trick and it was fantastic. http://social.msdn.microsoft.com/Forums/en/tfsbuild/thread/14ce49ea-f61a-45e2-be32-beffc81ce415?prof=required

Another way to view the log is via the web access(right click on the build output tab and choose "copy full path" and paste it onto a browser) and the log does get downloaded so you can scroll down quickly.

The build log is a different view of the full which by default can be found under the [build location][Build name]\logs directory.

You can retrieve the list of log locations from the database by querying tbl_Build table in the Tfs_<CollectionName> database, e.g.:

   SELECT [BuildId],[StartTime],[FinishTime],[LogLocation]
   FROM [Tfs_DefaultCollection].[dbo].[tbl_Build]
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!