From 0d0810c349554345133edbdd83621bf21e7d6d72 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 18 Oct 2021 19:53:29 -0700 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools for PR 2085 (#2975) * Fix up identity resolver to make it more reliable, publish notification configuration as a tool * Use both username and email to resolve queuing user Co-authored-by: Chidozie Ononiwu --- eng/common/pipelines/templates/steps/get-pr-owners.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/get-pr-owners.yml b/eng/common/pipelines/templates/steps/get-pr-owners.yml index bf2ee00ff..019bf5aa0 100644 --- a/eng/common/pipelines/templates/steps/get-pr-owners.yml +++ b/eng/common/pipelines/templates/steps/get-pr-owners.yml @@ -17,7 +17,8 @@ steps: --kusto-url-var KUSTO_URL ` --kusto-database-var KUSTO_DB ` --kusto-table-var KUSTO_TABLE ` - --identity "$(Build.QueuedBy)" ` + --identity-name "$(Build.QueuedBy)" ` + --identity-email "$(Build.RequestedForEmail)" ` --targetvar "${{ parameters.TargetVariable }}" displayName: 'Resolving Queuing User' continueOnError: true