Can someone please put exact steps how to fix "Allure Reports" tab on Azure DevOps displays blank page?
We are using azureDevops server 2020 and looking for automated way o get publish the allure report in Azuredevops pipeline
- Installed Allure extention on Azure devops
- added below task:
- task: AllureGenerate@1
inputs:
resultsDir: allure-results
targetDir: allure-report/$(Build.BuildNumber)
- After job i do see json files created in above directory: allure-report
- Check Allure report tab and its blank page.
Also tried with just publishing as an artifact like below. also getting blank page.
- task: PublishBuildArtifacts@1
displayName: 'Publish Report'
inputs:
PathtoPublish: '$(System.DefaultWorkingDirectory)/target/allure-results'
ArtifactName: 'allure-results'
publishLocation: 'Container'
Do we need to do anything additionally to get the report visible to the Azuredevops pipeline page itself. I guess we have to run Allure software some where to get the reports readable.
Can we have any workaround to get this report readable in azuredevops pipeline itself either 1) by installing any software or plugin in Azuredevops build agent? 2) Or can we achieve this using any AKS pods as we have cluster ready in AKS .
Also tried to upload the Test artifact "allure-results" to a webapp container and deployed it. But there we are getting only json file format and not visible as a a report