共用方式為


Build Overview

TFS 2017 | TFS 2015 | TFS 2013

Note

Looking for REST APIS that support TFS 2018 or later versions? See the Azure DevOps REST API Reference.

api-version = 2.0

Common tasks

Run a build

  1. Get the ID of the build definition that you want to use.
  2. Create a build.
  3. Get the ID of the build from the response so you can use it later.
  4. Get the build using the ID.

Get a build

  1. Get a list of builds and find the ID of the build you're interested in.
  2. Get the details about the build.

Tag a build

  1. Add the tag to the build.
  2. View the tags associated with the build.
  3. You can search builds by tags
  4. You can also see all tags across all builds.