How to debug Azure DevOps report missing #3483
Replies: 1 comment 1 reply
|
That message normally means the run has no Allure report attachment; it is not just a stale viewer tab. With I would debug it in this order:
variables:
system.debug: true
steps:
- bash: |
pwd
find "$(System.DefaultWorkingDirectory)" -maxdepth 4 -type f \
\( -name '*-result.json' -o -name '*-container.json' \) -print
displayName: Locate Allure result files
condition: always()
- task: PublishAllureReport@2
condition: always()
inputs:
testResultsDir: '$(System.DefaultWorkingDirectory)/path/to/allure-results'
reportName: 'Allure Report'
export default {
plugins: {
awesome: {
options: {
singleFile: true,
},
},
},
};If you pass
- task: PublishAllureReport@2
condition: always()
inputs:
testResultsDir: '$(System.DefaultWorkingDirectory)/path/to/allure-results'
allureVersion: '2.36.0'If the pinned run publishes while the default does not, the result files are present and the problem is specifically the Allure 3/configuration path introduced by the extension update. If neither publishes, the explicit The current official Azure integration guide documents the same two key constraints—the working-directory-relative results path and mandatory single-file output—and has a troubleshooting section for this exact empty-tab state: https://allurereport.org/docs/integrations-azure/ |
Uh oh!
There was an error while loading. Please reload this page.
I have an Azure DevOps pipeline using the Allure Report extension, and it's recently (I think around the v2.2.3 update but I'm not sure) just started giving me the "There is no available report to show!..." message when viewing the report. The "Publish Allure Report" task succeeds and produces no logs whatsoever.
How should I go about debugging this?
All reactions