Delen via


Release Management

Using on-premises: An earlier, and slightly different, version of this Release Management API is available in Team Foundation Server 2015 Update 2. To use, you must specify an API version of 2.2-preview.1.

New release references a release definition to deploy an application comprising of one/more artifacts. A release process goes through a set of approval requests.

Common tasks

Create a release definition

  1. Add one or more environments to release definition.
  2. Add tasks to each environment.
  3. Add approvals or make them automated, for each environment.
  4. Save release definition

Start a release

  1. Get the ID of the release definition that you want to use.
  2. Create a release.
  3. Get the ID of the release from the response so you can use it later.
  4. If required, abandon a release.

Get a release details

  1. Get a list of releases and find the ID of the release you're interested in.
  2. Get the details about the release.
  3. Get the approvals required for the release.