Colin's ALM Corner Build Tasks - Tag Build
This task tags a build/release with the tags specified.
The task requires the following settings:
- Type: Build or Release (see below for explanation).
- Tags: Tags to add to the build. Can be multi-line for multiple tags.
Permissions for Tagging Releases
In order to tag releases, the build service identity needs
Manage Releases permissions. If the permissions are not set the task will fail with this error:
VS402904: Access denied: User Project Collection Build Service does not have manage releases permission. Contact your release manager.
You can set the permission as follows:
- Click on the ellipses on the
All release definitionsnode in the Release explorer and click
- Click on the
Project Collection Build Serviceand set
Tagging Types Matrix
|Definition Type||Tag Type||Notes|
|Build||Build||Tags the current build with the tags|
|Build||Release||Throws an error|
|Release||Release||Tags the current release with the tags|
|Release||Build||Tags the primary build artifact's build with the tags|