Displaying build status

Hello,

I am writing an application for administrating builds (starting, stopping, deleting, etc.) using the TeamFoundation object model.

I need to display the build status form (or something similar) for both running and completed builds.

There is a BuildProgressForm in Microsoft.TeamFoundation.Build.Client namespace but I couldn't find any documentation and I get it to work.

Any ideas

Thank You,

shay



Answer this question

Displaying build status

  • sophy jue

    There's no way to use the VS GUI from your own custom application in v1.

    Buck



  • ZopoStyle

    You can get a list of all builds for a particular team project and build type using the GetListOfBuilds web method (on the BuildStore web service). This method returns an array of BuildData objects from which you can get BuildStatus, FinishTime (which will be DateTime.MinValue until the build is completed), etc.

    For individual builds, you can get BuildUri's from team project and build number using the GetBuildUri method, and a BuildData object using the GetBuildDetails method.

    -Aaron



  • MEW99

    Not that I am aware of, but I'll ask around and see if anybody else knows more on the topic. To recreate some of the GUI from this form, you would want to use the GetBuildSteps web method (which will give all of the completed and in-process build steps).

    -Aaron



  • Bill_Henning

    Hi,

    I got the list of builds and the information on each specific build (BuildUri, BuildDate, etc.)

    I need to display the ongoing progress of a running build and I thought displaying the same form displayed in the studio would be nice.

    Is there a way to display the build progress form in my app BuildProgressForm sounded promising.

    Thanks,

    Shay


  • Displaying build status