Skip to content

Commit

Permalink
Changed incorrect update to azure-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ykuijs committed Dec 9, 2020
1 parent 8559abe commit e3877e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ stages:
displayName: 'Run Unit Test for SP2013'
inputs:
filePath: './build.ps1'
arguments: "-Tasks test -PesterScript @(@{ Path = '$(Build.SourcesDirectory)/$(buildArtifactName)/Tests/Unit'; Parameters = @{SharePointCmdletModule = '$(Build.SourcesDirectory)/$(buildArtifactName)/Tests/Unit/Stubs/SharePoint/15.0.4805.1000/Microsoft.SharePoint.PowerShell.psm1' }})"
arguments: "-Tasks test -PesterScript @(@{ Path = '$(Build.SourcesDirectory)/Tests/Unit'; Parameters = @{SharePointCmdletModule = '$(Build.SourcesDirectory)/$(buildArtifactName)/Tests/Unit/Stubs/SharePoint/15.0.4805.1000/Microsoft.SharePoint.PowerShell.psm1' }})"
pwsh: false

- task: PublishTestResults@2
Expand Down Expand Up @@ -142,7 +142,7 @@ stages:
displayName: 'Run Unit Test for SP2016'
inputs:
filePath: './build.ps1'
arguments: "-Tasks test -PesterScript @(@{ Path = '$(Build.SourcesDirectory)/$(buildArtifactName)/Tests/Unit'; Parameters = @{SharePointCmdletModule = '$(Build.SourcesDirectory)/$(buildArtifactName)/Tests/Unit/Stubs/SharePoint/16.0.4456.1000/Microsoft.SharePoint.PowerShell.psm1' }})"
arguments: "-Tasks test -PesterScript @(@{ Path = '$(Build.SourcesDirectory)/Tests/Unit'; Parameters = @{SharePointCmdletModule = '$(Build.SourcesDirectory)/$(buildArtifactName)/Tests/Unit/Stubs/SharePoint/16.0.4456.1000/Microsoft.SharePoint.PowerShell.psm1' }})"
pwsh: false

- task: PublishTestResults@2
Expand Down Expand Up @@ -177,7 +177,7 @@ stages:
displayName: 'Run Unit Test for SP2019'
inputs:
filePath: './build.ps1'
arguments: "-Tasks test -PesterScript @(@{ Path = '$(Build.SourcesDirectory)/$(buildArtifactName)/Tests/Unit'; Parameters = @{SharePointCmdletModule = '$(Build.SourcesDirectory)/$(buildArtifactName)/Tests/Unit/Stubs/SharePoint/16.0.10337.12109/Microsoft.SharePoint.PowerShell.psm1' }})"
arguments: "-Tasks test -PesterScript @(@{ Path = '$(Build.SourcesDirectory)/Tests/Unit'; Parameters = @{SharePointCmdletModule = '$(Build.SourcesDirectory)/$(buildArtifactName)/Tests/Unit/Stubs/SharePoint/16.0.10337.12109/Microsoft.SharePoint.PowerShell.psm1' }})"
pwsh: false

- task: PublishTestResults@2
Expand Down
4 changes: 3 additions & 1 deletion build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ Pester:

DscTest:
ExcludeTag:
- "Common Tests - New Error-Level Script Analyzer Rules"
- 'Common Tests - New Error-Level Script Analyzer Rules'
- 'Common Tests - Validate Localization'
- 'Common Tests - Validate Example Files To Be Published'
Tag:
ExcludeSourceFile:
- output
Expand Down

0 comments on commit e3877e9

Please sign in to comment.