microsoft / azure-pipelines-yaml

Azure Pipelines YAML examples, templates, and community interaction
MIT License
1.19k stars 924 forks source link

Incorrect env var DOTNET_TELEMETRY_OPT_OUT usage in container-steps.md (supposed to be DOTNET_CLI_TELEMETRY_OPTOUT) #564

Closed emanuelb closed 2 years ago

emanuelb commented 2 years ago

in file: https://github.com/microsoft/azure-pipelines-yaml/blob/61d8c30ecde060e57a1cef1b16dc0e62b7997499/design/deprecated/container-steps.md#yaml-syntax

it contain lines: https://github.com/microsoft/azure-pipelines-yaml/blob/61d8c30ecde060e57a1cef1b16dc0e62b7997499/design/deprecated/container-steps.md#L64 https://github.com/microsoft/azure-pipelines-yaml/blob/61d8c30ecde060e57a1cef1b16dc0e62b7997499/design/deprecated/container-steps.md#L76

Searching for env var DOTNET_TELEMETRY_OPT_OUT in github: https://github.com/search?p=1&q=DOTNET_TELEMETRY_OPT_OUT&type=Code

all results are from the same container-steps.md page, thus the env var name is incorrect as dotnet cli use the env var DOTNET_CLI_TELEMETRY_OPTOUT to optout: https://docs.microsoft.com/en-us/dotnet/core/tools/telemetry#how-to-opt-out

SvetlanaMaliugina commented 2 years ago

Hi @emanuelb! Thanks for reporting. We will update this.

alexander-smolyakov commented 2 years ago

Fixed by this pull request: