Home > Enterprise >  How to publish the testNG reports in azure devops pipeline ? is there any extensions for same?
How to publish the testNG reports in azure devops pipeline ? is there any extensions for same?

Time:12-30

Getting blank page in Allure report tab under the Azure Devops build. As per the log, the report has been generated. Can someone please tell me what is the issue here?

This is the information I am using for Allure Task : Allure Task

Task I have added :

Other task, I have added

CodePudding user response:

How to publish the testNG reports in azure devops pipeline ? is there any extensions for same?

Azure DevOps does not support testNG test results format.

And testNG also produces JUnit test results in a separate junitreports folder. So, we can publish TESTNG test results in JUnit format instead.

You could use the Publish Test Results task to publish the reports. Please select the “JUnit” Test result format and change the Test results files as **/junitreports/TEST-*.xml.

You could check my provious thread for some more details:

How to integrate TestNG or Extent reports with Azure devops?

But for the extension Allure Test Reports task, there are many communities report the same issue on the Q&A for this task:

https://marketplace.visualstudio.com/items?itemName=Molecula.allure-test-reports&ssr=false#qna

This issue should be more related to this extension, you could check the Q&A for the feedback.

CodePudding user response:

Referring to the documentation for Allure Test Reports.

To enable "Open Allure Report" option you will need to add additional build step to publish the report somewhere. For instance you can create a simple Azure Web App and upload reports there using Build Task extension like FTP Upload. Your website should support HTTPS.

  • Related