Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions eng/common/tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,9 @@ function InitializeDotNetCli([bool]$install, [bool]$createSdkLocationFile) {
# Disable first run since we do not need all ASP.NET packages restored.
$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1

# On CI:
# Disable telemetry
# Set the CLI home directory to the build machine's workspace.
# Disable telemetry on CI.
if ($ci) {
$env:DOTNET_CLI_TELEMETRY_OPTOUT=1
$env:DOTNET_CLI_HOME=$env:AGENT_BUILDDIRECTORY
}

# Source Build uses DotNetCoreSdkDir variable
Expand Down
5 changes: 1 addition & 4 deletions eng/common/tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,9 @@ function InitializeDotNetCli {
# Disable first run since we want to control all package sources
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1

# On CI:
# Disable telemetry
# Set the CLI home directory to the build machine's workspace.
# Disable telemetry on CI
if [[ $ci == true ]]; then
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export DOTNET_CLI_HOME=$AGENT_BUILDDIRECTORY
fi

# LTTNG is the logging infrastructure used by Core CLR. Need this variable set
Expand Down