Skip to content

Commit f4e405e

Browse files
authored
[ci] Remove test environment $PATH additions (#9712)
A couple of scripts that added various tools to `$PATH` have been removed. These were added when we were onboarding to the 1ES pipeline template and testing new machine pool/image requirements. The Windows images we're using have received many updates since then, and these workarounds that updated `$PATH` are no longer necessary.
1 parent 39cd9f7 commit f4e405e

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

build-tools/automation/azure-pipelines.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ extends:
152152
inputs:
153153
forceReinstallCredentialProvider: true
154154

155-
- script: echo "##vso[task.prependpath]C:\Windows\System32\WindowsPowerShell\v1.0\"
156-
displayName: add powershell to path
157-
158155
- task: DownloadPipelineArtifact@2
159156
inputs:
160157
artifactName: $(NuGetArtifactName)

build-tools/automation/yaml-templates/install-dotnet-tool.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,3 @@ steps:
2323
--version ${{ parameters.version }}
2424
--add-source "https://api.nuget.org/v3/index.json"
2525
26-
- script: echo "##vso[task.prependpath]$(Agent.ToolsDirectory)"
27-
displayName: add $(Agent.ToolsDirectory) to path

0 commit comments

Comments
 (0)