Ask a Question

Azure devops integration Allure Report

SOLVED
isbiat
New Contributor

Azure devops integration Allure Report

Hello,

i am working with azuredevops pipeline where i have my Readuapi Tests, I added the plugin Allure generation report 

but i have a blanc report however, locally the generation is ok i can have the report !

Is anywone here working with allure report integration with azuredevops please ?

1 ACCEPTED SOLUTION

Accepted Solutions
joejoyce
Staff

Re: Azure devops integration Allure Report

Ok. So, ReadyAPI will generate Allure results. You need to pass the generated files to the Allure framework to get an actual report. For example, the following command generates a report using the files stored in the specified folder and opens the report in the default browser:

 

allure serve C:\Tests\Reports\

 

So you may need the above command as part of your pipeline. Let me know if that sounds feasible. 

View solution in original post

6 REPLIES 6
joejoyce
Staff

Re: Azure devops integration Allure Report

Hey @isbiat ; can you upload a screenshot of the blank report / output you're getting from the pipeline?

isbiat
New Contributor

Re: Azure devops integration Allure Report

Hello,

please find below the screenshot it is from azure pipeline

isbiat_0-1617201445554.png

 

joejoyce
Staff

Re: Azure devops integration Allure Report

Is the Allure framework installed on the pipeline agent?

isbiat
New Contributor

Re: Azure devops integration Allure Report

Actually i installed the framework on the VM where i execute My api tests then in the pipeline i added the plugin allure

joejoyce
Staff

Re: Azure devops integration Allure Report

Ok. So, ReadyAPI will generate Allure results. You need to pass the generated files to the Allure framework to get an actual report. For example, the following command generates a report using the files stored in the specified folder and opens the report in the default browser:

 

allure serve C:\Tests\Reports\

 

So you may need the above command as part of your pipeline. Let me know if that sounds feasible. 

View solution in original post

isbiat
New Contributor

Re: Azure devops integration Allure Report

Hello,

 

Actually, i am using this commande to generate the report

allure generate "$(Common.TestResultsDirectory)" --output "$(Build.StagingDirectory)\allure"

 

 

cancel
Showing results for 
Search instead for 
Did you mean: