Shakil Ahamed
Shakil Ahamed

Reputation: 1

How to publish code coverage and test result in Azure devops wiki

My requirement is when my build pipeline completes the unit test and coverage report and same need to be published to Azure Devops Wiki. Can anyone tell me how to achieve the same. Is there any task available in azure pipeline to achieve the same.

Upvotes: 0

Views: 1301

Answers (1)

Bhargavi Annadevara
Bhargavi Annadevara

Reputation: 5512

AFAIK, the Azure Pipeline tasks available for this purpose publish to the pipeline itself, wherein results are displayed in the Tests tab in the pipeline summary.

If you want to publish it to an ADO Wiki, you could probably add a command line task and invoke appropriate REST APIs to Get Build Code Coverage / Get Test Run Code Coverage and then Update your Wiki page.

Upvotes: 1

Related Questions