Improve Artifacts

This commit is contained in:
jhoneill
2019-12-08 01:47:43 +00:00
parent 2bcb332ec7
commit 6be0961d17
2 changed files with 6 additions and 6 deletions

View File

@@ -207,8 +207,8 @@ if (-not $SkipPostChecks) {
}
Remove-Item -Path $ExcelParams['Path'] -ErrorAction SilentlyContinue
$AnalyzerResults | Export-Excel @ExcelParams
"Try to uploadfile$($ExcelParams['Path'])"
"##vso[task.uploadfile]$($ExcelParams['Path'])"
"Try to uploadfile {0}" -f $ExcelParams['Path']
"##vso[task.uploadfile]{0}" -f $ExcelParams['Path']
}
}

View File

@@ -22,12 +22,12 @@ jobs:
displayName: 'Update Modules'
- powershell: './CI/PS-CI.ps1'
displayName: 'Check Build Check Pack Test'
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifact: 'Modules'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'NUnit'
testResultsFiles: '**/TestResults*.xml'
failTaskOnFailedTests: true
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)/ImportExcel'
artifact: 'ImportExcel'