TfsExtensions icon indicating copy to clipboard operation
TfsExtensions copied to clipboard

Pass Build.TriggeredBy.BuildId predefined variable as build parameter in Trigger Build Task

Open bencemali opened this issue 5 months ago • 1 comments

When using the built-in build completion trigger in azure devops, the predefined variable Build.TriggeredBy.BuildId is set to the build id of the triggering build. The Trigger Build Task could pass the value of Build.BuildId as an additional parameter with the name Build.TriggeredBy.BuildId to the triggered build, thus avoiding confusion. Right now the following can be added as a "workaround" to the additional build parameters to achieve this:

{"Build.TriggeredBy.BuildId" : "$(Build.BuildId)" }

bencemali avatar Sep 05 '24 13:09 bencemali