How to add custom statistics to a TFS 2010 build?
-
15 September 2011 15:07
I want to integrate the execution of a custom tool to our build (say CLOC, to gather LOCs by language) in TFS 2010. I know I can do that by creating a custom activity that I can then integrate into a custom template (or simply use the InvokeProcess activity).
The real question is that I want to associate the results of this tool (LOCs by language) to every build, so that custom reports can be created to see the evolution of these values (e.g. the evolution of total LOCs over time/builds).
I have seen a sample of a custom datawarehouse adapter: is that the way to go? Do I store my custom values in the
IBuildDetail? How?
Semua Balasan
-
16 September 2011 11:52Moderator
Hi Mathieu,
Thank you for your question.
I am currently looking into this issue and will give you an update as soon as possible.
Thank you for your understanding and support.
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
23 April 2012 12:56Any update on this? I'd like to know as well.
My blog: blog.jessehouwing.nl
-
23 April 2012 12:58
-
23 April 2012 14:12Small update: I did not get to the end of it, and we are very likely to switch to a usable development stack very soon (Mercurial + Redmine + CCNet).
-
23 April 2012 14:49
I'm very sorry to hear that. I've been looking for information on how to do this, it seems to be a very powerful combination, a custom IBuildInformation added to the build from a custom BuildActivity, then gathered from a IDataWarehouseAdapter.
Such a scenario would ideally be well described in the documentation.
My blog: blog.jessehouwing.nl