capabilities.work

Inspect a Release Definition and Cut a Release

A 3-step recipe with Azure DevOps. We can help you get access.

Recipe · 3 steps

Inspect a Release Definition and Cut a Release

with Azure DevOps · Software Release & Deployment Management

Read a release definition, create a release, and confirm it.

  1. Fetch the release definition to confirm it exists and capture its name and revision before cutting a release.
  2. Create a release from the confirmed definition, binding the named artifact to the requested build instance.
  3. Fetch the newly created release to confirm it exists and read its status.
What you'll need to have ready
  • apiVersion: Azure DevOps REST API version (e.g. 7.1).
  • definitionId: ID of the release definition.
  • artifactAlias: Artifact alias as defined in the release definition.
  • artifactInstanceId: Build ID or artifact version ID to deploy.
  • artifactInstanceName: Build number or version string for the artifact.
  • accessToken: Azure DevOps bearer (OAuth 2.0) access token.
For your developer

Arazzo workflow microsoft-azure-devops:release-from-definition, 3 operations: releaseDefinitions_get → releases_create → releases_get. Specs on APIs.io.