capabilities.work

Create and Monitor a Release

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

Recipe · 3 steps

Create and Monitor a Release

with Azure DevOps · Software Release & Deployment Management

Create a release, poll until active, and fetch its environments.

  1. Create a release from the supplied definition, binding the named artifact to the requested build instance.
  2. Fetch the release by ID and check its status. While the release is still a draft, loop back and poll again; once active, continue to the environments step.
  3. Fetch the release with its environments expanded to expose the deployment stages of the active release.
What you'll need to have ready
  • apiVersion: Azure DevOps REST API version (e.g. 7.1).
  • definitionId: ID of the release definition to create the release from.
  • description: Optional description for the release.
  • 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:create-and-monitor-release, 3 operations: releases_create → releases_get → releases_get. Specs on APIs.io.