From ba3240f1f7c3bc64812b219ec956524f39ce1782 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Mon, 6 May 2019 11:16:45 -0700 Subject: [PATCH] Set the DOTNET_CLI_TELEMETRY_PROFILE environment variable (#2688) --- eng/common/templates/job/job.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eng/common/templates/job/job.yml b/eng/common/templates/job/job.yml index 7839b70bb70..1814e0ab612 100644 --- a/eng/common/templates/job/job.yml +++ b/eng/common/templates/job/job.yml @@ -90,6 +90,9 @@ jobs: timeoutInMinutes: ${{ parameters.timeoutInMinutes }} variables: + - ${{ if eq(parameters.enableTelemetry, 'true') }}: + - name: DOTNET_CLI_TELEMETRY_PROFILE + value: '$(Build.Repository.Uri)' - ${{ each variable in parameters.variables }}: # handle name-value variable syntax # example: