From 6d7cbf0cb02ce57c60cd95f477d3c9d84cf30afc Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Mon, 30 Sep 2019 12:56:59 -0700 Subject: [PATCH] Update to Powershell6 --- .azure-pipelines/docs.yml | 2 +- eng/pipelines/templates/steps/build-test.yml | 2 +- eng/pipelines/templates/steps/test-nightly.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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