Allure Report for Azure pipelines
Official extension to generate and display embedded Allure Report


Usage
The extension able to render reports under 512 MB. Read more here.
Add following task after your tests task in the pipeline:
- task: PublishAllureReport@1
displayName: "publish allure report"
If you want to render multiple reports, you can add multiple tasks with different testResultsDir
adn reportName
inputs:
- task: PublishAllureReport@1
displayName: "publish allure report"
inputs:
testResultsDir: "path/to/allure-results"
reportName: "Report 1"
- task: PublishAllureReport@1
displayName: "publish allure report"
inputs:
testResultsDir: "path/to/another-allure-results"
reportName: "Report 2"
Configuration
The extension has following input parameters:
Parameter |
Description |
Default value |
allureVersion |
Allure Report version to use |
2.27.0 |
testResultsDir |
Directory where test results are stored in |
allure-results |
reportName |
Name of the report |
Allure Report |
allureDownloadUrl |
URL to download Allure Report from |
https://github.com/allure-framework/allure2/releases/download/{{allureVersion}}/allure-{{allureVersion}}.tgz |
All the parameters are optional, so you can just add the task without any configuration.
By default, the extension will use bundled Allure Report version 2.27.0
. If you specify allureVersion
or allureDownloadUrl
the extension will download and use the specified version of the Allure Report.
Configuration example:
- task: PublishAllureReport@1
displayName: "publish allure report"
inputs:
allureVersion: "2.26.0"
testResultsDir: "path/to/allure-results"
Don't use Allure Report version lower than 2.25.0
due to the single file mode was introduced in this version!