retry previous

This commit is contained in:
jhoneill
2019-12-08 10:19:21 +00:00
parent fb4fb57751
commit f5a29b45df
2 changed files with 5 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ try {
Copy-Item -Path $file -Destination $dest -Force -Recurse Copy-Item -Path $file -Destination $dest -Force -Recurse
} }
if (Test-Path -PathType Container "mdHelp" -and not $SkipHelp) { if ((Test-Path -PathType Container "mdHelp") -and -not $SkipHelp) {
if (-not (Get-Module -ListAvailable platyPS)) { if (-not (Get-Module -ListAvailable platyPS)) {
'Installing Platyps to build help files' 'Installing Platyps to build help files'
Install-Module -Name platyPS -Force -SkipPublisherCheck Install-Module -Name platyPS -Force -SkipPublisherCheck

View File

@@ -12,7 +12,7 @@ trigger:
- CHANGELOG.md - CHANGELOG.md
jobs: jobs:
- job: Windows - job: 'Windows powershell all options'
pool: pool:
vmImage: 'windows-latest' vmImage: 'windows-latest'
steps: steps:
@@ -30,7 +30,7 @@ jobs:
targetPath: '$(Build.ArtifactStagingDirectory)/ImportExcel' targetPath: '$(Build.ArtifactStagingDirectory)/ImportExcel'
artifact: 'ImportExcel' artifact: 'ImportExcel'
- job: WindowsPSCore - job: 'PowerShell Core on Windows Build and Pester only'
pool: pool:
vmImage: 'windows-latest' vmImage: 'windows-latest'
steps: steps:
@@ -44,7 +44,7 @@ jobs:
testResultsFiles: '**/TestResults*.xml' testResultsFiles: '**/TestResults*.xml'
failTaskOnFailedTests: true failTaskOnFailedTests: true
- job: Ubuntu - job: 'Ubuntu Build and Pester Only'
pool: pool:
vmImage: 'ubuntu-latest' vmImage: 'ubuntu-latest'
steps: steps:
@@ -58,7 +58,7 @@ jobs:
testResultsFiles: '**/TestResults*.xml' testResultsFiles: '**/TestResults*.xml'
failTaskOnFailedTests: true failTaskOnFailedTests: true
- job: macOS - job: 'macOS Build and Pester Only'
pool: pool:
vmImage: 'macOS-latest' vmImage: 'macOS-latest'
steps: steps: