代码之家  ›  专栏  ›  技术社区  ›  Sebastian

如何防止sonarqube的pull请求集成将问题报告为github上的内联注释?

  •  0
  • Sebastian  · 技术社区  · 8 年前

    我配置了sonarqube分析来报告它的状态,以便在我的github项目上拉取请求。Sonarcloud已经作为一等公民支持pull请求,如中所述 https://blog.sonarsource.com/sonarcloud-loves-your-build-pipeline . 据我所知,这种集成并不是为sonarqube使用github插件。

    配置提供这些属性( look here for the complete configuration )

    • 声纳.pullrequest.provider
    • sonar.pullrequest.github.repository网站
    • 声纳.pullrequest.branch
    • 声纳.pullrequest.key

    技术用户的凭据在Sonarcloud项目管理中设置。

    你可以在这里看到结果: https://github.com/BudgetFreak/BudgetFreak/pull/86#pullrequestreview-125364230

    每个问题都作为内联注释进行报告,生成一个摘要注释,并报告代码质量/sonarqube检查的状态。

    我想禁用每个问题的内联注释。这可以使用github插件。新的pull请求集成也能实现这一点吗?

    1 回复  |  直到 8 年前
        1
  •  0
  •   Fabrice - SonarSource Team    8 年前

    不幸的是,在Sonarcloud上,此功能不可用。