Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the XML passed to TFS build event subscribers stored in TFS DB?

Tags:

tfs

tfs-sdk

I have set up a custom build event handler for TFS 2012 builds via the SOAP web service option. This handlers works nicely and is built to work with the XML payload that TFS gives us.

I am now trying to build a web page that can show similar information for a build. However, I don't want to go through the trouble of trying to re-create my XML payload or modify my interfaces to deal with TFS objects instead of objects I defined from parsing the payload.

So, is this event XML stored somewhere in the DB? Is it accessible or easily generated via the TFS API?

like image 507
sohum Avatar asked Feb 25 '14 21:02

sohum


People also ask

How does TFS Build work?

Team Foundation Server (TFS) is an ALM product from Microsoft which provides the capabilities for an end-to-end development and testing using Work Item Management, Project Planning (Waterfall or Scrum), Version Control, Build/Release (Deploy) and Testing capabilities.

Is TFS a build server?

In this article. This topic describes how to prepare a Team Foundation Server (TFS) build server to build and deploy your solutions using Team Build and the Internet Information Services (IIS) Web Deployment Tool (Web Deploy).

What is the equivalent work item in TFS for the change request in pivotal?

Ans: The TFS equivalent is the Annotate command I believe. (Simply right-click on the versioned file in the source code explorer and select “Annotate”.) There's more information on this over on MSDN.


1 Answers

Yes it is. You can find it in the Event column of the tfs event queue.

Here is a sample export of the queue (XML truncated here):

PartitionId     262696
Id              1
Event           <?xml version="1.0" encoding="utf-16"?><WorkItemChangedEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><PortfolioProject>REDACTED</PortfolioProject><ProjectNodeId>8afd8744-c011-43b2-a25...(truncated)
EventType       WorkItemChangedEvent
Status          Processed
ClientHostName  NULL
CreatedTime     2013-08-11 18:13:59.767
like image 75
paulyphonic Avatar answered Nov 16 '22 02:11

paulyphonic