Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Release Master Build
Release Master Build

Release Master Build

Ivan Boyko

|
254 installs
| (3) | Free
Will trigger a Release for builds of Git master branch only, allowing you to have a single Build definition for all branches and Pull Requests, but Release only from master
Get it free

Release Master Build

Based on VSTS Trgger by Sergii Bomko: https://marketplace.visualstudio.com/items?itemName=sergiibomko.vsts-trigger It adds condition to trigger only if current Git branch is master. This is to allow a single build definition to be used to build all branches and Pull Requests, but trigger Release only for master builds.

The extension contains tasks which allow to trigger processes.

How it works

The task calls VSTS REST API for triggering process and fetching all needed data.

Getting started

  • First of all you need to add Personal access token to your VSTS. You need to open My profile -> Security tab -> Personal access tokens and click Add button. Personal access tokens

Note: For starting release is enough to have scope "Release (read, write and execute)", but in our case we use API for getting latest atrifacts for target release (the API is out of all presented scopes), that is why we need to choose "All scopes" - TEMPORARY SOLUTION

  • Than you need to add Generic Endpoint Service Generic Endpoint Service

Use generated personal access token, Server URL is your VSTS service, User name can be anything Generic Endpoint Service

ReleaseTrigger task

The task allow to trigger release process from build process or other release process. The task builds batch with all needed artifacts with latest versions for target release definition and trigger the release. In case when target release definition needs artifact from current process the task takes current artifacts, not latest.

To add task into your build or release definition Add Task

fill settings for the task Task

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft