mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-11 05:43:17 +00:00
Improve Artifacts
This commit is contained in:
@@ -207,8 +207,8 @@ if (-not $SkipPostChecks) {
|
|||||||
}
|
}
|
||||||
Remove-Item -Path $ExcelParams['Path'] -ErrorAction SilentlyContinue
|
Remove-Item -Path $ExcelParams['Path'] -ErrorAction SilentlyContinue
|
||||||
$AnalyzerResults | Export-Excel @ExcelParams
|
$AnalyzerResults | Export-Excel @ExcelParams
|
||||||
"Try to uploadfile$($ExcelParams['Path'])"
|
"Try to uploadfile {0}" -f $ExcelParams['Path']
|
||||||
"##vso[task.uploadfile]$($ExcelParams['Path'])"
|
"##vso[task.uploadfile]{0}" -f $ExcelParams['Path']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,12 +22,12 @@ jobs:
|
|||||||
displayName: 'Update Modules'
|
displayName: 'Update Modules'
|
||||||
- powershell: './CI/PS-CI.ps1'
|
- powershell: './CI/PS-CI.ps1'
|
||||||
displayName: 'Check Build Check Pack Test'
|
displayName: 'Check Build Check Pack Test'
|
||||||
- task: PublishPipelineArtifact@1
|
|
||||||
inputs:
|
|
||||||
targetPath: '$(Build.ArtifactStagingDirectory)'
|
|
||||||
artifact: 'Modules'
|
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
inputs:
|
inputs:
|
||||||
testResultsFormat: 'NUnit'
|
testResultsFormat: 'NUnit'
|
||||||
testResultsFiles: '**/TestResults*.xml'
|
testResultsFiles: '**/TestResults*.xml'
|
||||||
failTaskOnFailedTests: true
|
failTaskOnFailedTests: true
|
||||||
|
- task: PublishPipelineArtifact@1
|
||||||
|
inputs:
|
||||||
|
targetPath: '$(Build.ArtifactStagingDirectory)/ImportExcel'
|
||||||
|
artifact: 'ImportExcel'
|
||||||
|
|||||||
Reference in New Issue
Block a user