Skip to content

Commit 9f01a26

Browse files
authored
Revert 860d6a1 (#3222)
* Revert "Cleanup tool build changes (#3179)" This reverts commit 860d6a1.
1 parent a80b634 commit 9f01a26

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

eng/performance/scenarios.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,20 @@ jobs:
129129
displayName: Get dotnetVersion to use
130130
- script: $(Python) scripts/ci_setup.py --channel $(_Channel) --dotnet-versions $(DotnetVersion) --architecture ${{parameters.architecture}} --perf-hash $(Build.SourceVersion) --queue ${{parameters.queue}} --build-number $(Build.BuildNumber) --build-configs $(_Configs) --output-file $(CorrelationStaging)machine-setup$(ScriptExtension) --install-dir $(CorrelationStaging)dotnet $(runEnvVarsParam) $(AffinityParam)
131131
displayName: Run ci_setup.py with dotnetVersionsLinks
132+
- powershell: |
133+
Write-Host "##vso[task.setvariable variable=DOTNET_ROOT;]$(CorrelationStaging)dotnet"
134+
Write-Host "Set DOTNET_ROOT to $(CorrelationStaging)dotnet"
135+
displayName: Explicitly set DOTNET_ROOT
136+
- script: |
137+
echo "##vso[task.setvariable variable=PATH;]$(DOTNET_ROOT):$(PATH)"
138+
echo "Set PATH to $(DOTNET_ROOT):$(PATH)"
139+
displayName: Explicitly set PATH (Non-Windows)
140+
condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))
141+
- powershell: |
142+
Write-Host "##vso[task.setvariable variable=PATH;]$(DOTNET_ROOT);$(PATH)"
143+
Write-Host "Set PATH to $(DOTNET_ROOT);$(PATH)"
144+
displayName: Explicitly set PATH (Windows)
145+
condition: and(succeeded(), eq(variables['Agent.Os'], 'Windows_NT'))
132146
- ${{ if eq(parameters.osName, 'windows') }}:
133147
- script: xcopy .\NuGet.config $(CorrelationStaging) && xcopy .\scripts $(CorrelationStaging)scripts\/e && xcopy .\src\scenarios\shared $(CorrelationStaging)shared\/e && xcopy .\src\scenarios\staticdeps $(CorrelationStaging)staticdeps\/e
134148
displayName: Copy python libraries and NuGet.config

0 commit comments

Comments
 (0)