简体   繁体   English

如何在 Azure devops 仪表盘中查看 SonarQube 报告

[英]How to view SonarQube report in Azure devops dashboard

I want to view the report generated through SonarQube in Azure devops dashboard or in the build summary,i tried to follow this link: How to view the SonarQube full analysis report in the build summary in Azure DevOps?我想在 Azure devops 仪表板或构建摘要中查看通过 SonarQube 生成的报告,我尝试点击此链接: How to view the SonarQube full analysis report in the build summary in Azure DevOps? but it didn't worked.但它没有用。

if anyone has solution for this please post it here,Thanks in Advance如果有人对此有解决方案,请在此处发布,在此先感谢

We can see the report in the build page.我们可以在构建页面中看到报告。

Steps:脚步:

  1. Install the extension SonarQube and Add SonarQube service connection.安装扩展SonarQube并添加 SonarQube 服务连接。
  2. Add the task Prepare Analysis Configuration to prepare analysis on SonarQube and publish Quality Gate results.添加任务 Prepare Analysis Configuration 以准备对 SonarQube 的分析并发布 Quality Gate 结果。
  3. Publish Quality Gate Result task is to display the Quality Gate status in the build summary.发布质量门结果任务是在构建摘要中显示质量门状态。
  4. Then we can see the SonarQube report in the Extension tab.然后我们可以在分机选项卡中看到SonarQube报告。

Please refer to this doc for more details.有关更多详细信息,请参阅此文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM