Skip to content

Commit

Permalink
Set the DOTNET_CLI_TELEMETRY_PROFILE environment variable (#2688)
Browse files Browse the repository at this point in the history
  • Loading branch information
natemcmaster authored May 6, 2019
1 parent 917ed3a commit ba3240f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eng/common/templates/job/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ba3240f

Please sign in to comment.