O'Reilly logo

Microsoft Team Foundation Server 2015 Cookbook by Tarun Arora

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting build details programmatically using the REST API

In this recipe, you'll learn how to get a list of builds with details in a Team Project using the BuildHttpClient REST APIs.

Getting ready

As alluded to in the chapter introduction, Team Foundation Server 2015 does not yet have OAuth token provisioning capability; for this reason, the only way to consume the REST API is using alternate credentials. Alternate credentials uses basic authentication as the authentication protocol. When using basic authentication, the user credentials are sent to the server in plain text. This type of setup simply isn't acceptable in a professional environment. Follow the instructions at http://bit.ly/1Nfe8e0 to set up a self-signed certificate to configure SSL ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required