diff --git a/eng/pipelines/aggregate-reports.yml b/eng/pipelines/aggregate-reports.yml index b96c1c74d047..76d13632c915 100644 --- a/eng/pipelines/aggregate-reports.yml +++ b/eng/pipelines/aggregate-reports.yml @@ -14,7 +14,8 @@ jobs: - template: ./templates/variables/globals.yml pool: - vmImage: 'windows-2019' + name: azsdk-pool-mms-win-2019-general + vmImage: MMS2019 steps: - template: /eng/pipelines/templates/steps/analyze_dependency.yml diff --git a/eng/pipelines/templates/steps/analyze_dependency.yml b/eng/pipelines/templates/steps/analyze_dependency.yml index 77ab69df6dd3..a82760dd83d5 100644 --- a/eng/pipelines/templates/steps/analyze_dependency.yml +++ b/eng/pipelines/templates/steps/analyze_dependency.yml @@ -4,8 +4,8 @@ steps: inputs: versionSpec: '$(PythonVersion)' - - script: | - pip install -r eng/ci_tools.txt + - pwsh: | + pip install -r eng/ci_tools.txt $(if($IsWindows) {"--user" }) ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml displayName: 'Verify Readmes'