diff --git a/eng/performance/scenarios.yml b/eng/performance/scenarios.yml index 4c32a1a172f..e45b67d0226 100644 --- a/eng/performance/scenarios.yml +++ b/eng/performance/scenarios.yml @@ -132,6 +132,17 @@ jobs: Write-Host "##vso[task.setvariable variable=DOTNET_ROOT;]$(CorrelationStaging)dotnet" Write-Host "Set DOTNET_ROOT to $(CorrelationStaging)dotnet" displayName: Explicitly set DOTNET_ROOT + # Set PATH + - script: | + echo "##vso[task.setvariable variable=PATH;]$(DOTNET_ROOT):$(PATH)" + echo "Set PATH to $(DOTNET_ROOT):$(PATH)" + displayName: Explicitly set PATH (Non-Windows) + condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT')) + - powershell: | + Write-Host "##vso[task.setvariable variable=PATH;]$(DOTNET_ROOT);$(PATH)" + Write-Host "Set PATH to $(DOTNET_ROOT);$(PATH)" + displayName: Explicitly set PATH (Windows) + condition: and(succeeded(), eq(variables['Agent.Os'], 'Windows_NT')) - ${{ if eq(parameters.osName, 'windows') }}: - script: xcopy .\NuGet.config $(CorrelationStaging) && xcopy .\scripts $(CorrelationStaging)scripts\/e && xcopy .\src\scenarios\shared $(CorrelationStaging)shared\/e && xcopy .\src\scenarios\staticdeps $(CorrelationStaging)staticdeps\/e displayName: Copy python libraries and NuGet.config