Provision a Release Definition and Cut a Release
A 3-step recipe with Azure DevOps. We can help you get access.
Recipe · 3 steps
Provision a Release Definition and Cut a Release
with Azure DevOps · Software Release & Deployment Management
Create a release definition, confirm it, and cut a first release.
- Create the release definition from the supplied definition body.
- Fetch the release definition by ID to confirm it was created and capture its revision.
- Create a first release from the newly provisioned definition, binding the named artifact to the requested build instance.
What you'll need to have ready
- apiVersion: Azure DevOps REST API version (e.g. 7.1).
- definition: Release definition body matching the ReleaseDefinition schema (name, environments, artifacts, etc.).
- artifactAlias: Artifact alias as defined in the release definition.
- artifactInstanceId: Build ID or artifact version ID to deploy in the first release.
- 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:provision-release-definition, 3 operations: releaseDefinitions_create → releaseDefinitions_get → releases_create. Specs on APIs.io.