diff --git a/.azure-pipelines/docs.yml b/.azure-pipelines/docs.yml index 843bb1c73436..d428a09dcbd9 100644 --- a/.azure-pipelines/docs.yml +++ b/.azure-pipelines/docs.yml @@ -24,7 +24,7 @@ jobs: scriptPath: 'scripts/dev_setup.py' arguments: '--exceptionlist=azure-eventhubs,azure-eventhubs-checkpointstoreblob-aio' - - powershell: | + - pwsh: | cd $(Build.SourcesDirectory)/doc/sphinx pip install -r requirements.txt ./make.bat html diff --git a/eng/pipelines/templates/steps/build-test.yml b/eng/pipelines/templates/steps/build-test.yml index 4dad7cce9eee..fb8c523d9f6d 100644 --- a/eng/pipelines/templates/steps/build-test.yml +++ b/eng/pipelines/templates/steps/build-test.yml @@ -14,7 +14,7 @@ parameters: RunPylint: eq(variables['PythonVersion'], '3.7') steps: - - powershell: | + - pwsh: | gci -r $(Build.ArtifactStagingDirectory) - task: UsePythonVersion@0 diff --git a/eng/pipelines/templates/steps/test-nightly.yml b/eng/pipelines/templates/steps/test-nightly.yml index b7e90822f894..ee8074467ba6 100644 --- a/eng/pipelines/templates/steps/test-nightly.yml +++ b/eng/pipelines/templates/steps/test-nightly.yml @@ -13,7 +13,7 @@ parameters: RunMyPy: and(ne(variables['PythonVersion'], '2.7'), ne(variables['PythonVersion'], 'pypy3')) steps: - - powershell: | + - pwsh: | gci -r $(Build.ArtifactStagingDirectory) - task: UsePythonVersion@0