@@ -129,37 +129,39 @@ phases:
129129 condition : succeededOrFailed()
130130
131131
132- - phase : Phase_5
133- displayName : Test Module on Windows (PS Core)
134-
135- dependsOn : Phase_1
136- condition : succeeded()
137- queue :
138- name : Hosted VS2017
139-
140- steps :
141- - task : DownloadBuildArtifacts@0
142- displayName : ' Download Build Artifacts'
143- inputs :
144- artifactName : Release
145- downloadPath : ' $(Build.SourcesDirectory)'
146-
147- - powershell : |
148- . ./Tools/setup.ps1
149- Invoke-Build -Task ShowInfo
150- pwsh: true
151- displayName: Setup
152-
153- - powershell : ' Invoke-Build -Task Test'
154- pwsh : true
155- displayName : Test
156-
157- - task : PublishTestResults@2
158- displayName : ' Publish Test Results **/Test-*.xml'
159- inputs :
160- testRunner : NUnit
161- testResultsFiles : ' **/Test-*.xml'
162- condition : succeededOrFailed()
132+ # Waiting for the agent to support pwsh:
133+ # https://github.com/Microsoft/azure-pipelines-image-generation/issues/232
134+ # - phase: Phase_5
135+ # displayName: Test Module on Windows (PSv6)
136+
137+ # dependsOn: Phase_1
138+ # condition: succeeded()
139+ # queue:
140+ # name: Hosted VS2017
141+
142+ # steps:
143+ # - task: DownloadBuildArtifacts@0
144+ # displayName: 'Download Build Artifacts'
145+ # inputs:
146+ # artifactName: Release
147+ # downloadPath: '$(Build.SourcesDirectory)'
148+
149+ # - powershell: |
150+ # . ./Tools/setup.ps1
151+ # Invoke-Build -Task ShowInfo
152+ # displayName: Setup
153+ # pwsh: true
154+
155+ # - powershell: 'Invoke-Build -Task Test'
156+ # displayName: Test
157+ # pwsh: true
158+
159+ # - task: PublishTestResults@2
160+ # displayName: 'Publish Test Results **/Test-*.xml'
161+ # inputs:
162+ # testRunner: NUnit
163+ # testResultsFiles: '**/Test*.xml'
164+ # condition: succeededOrFailed()
163165
164166- phase : Phase_6
165167 displayName : Test Module against Cloud Server
0 commit comments