gpt4 book ai didi

sonarqube - Upsource 和 SonarQube

转载 作者:行者123 更新时间:2023-12-03 19:35:27 26 4
gpt4 key购买 nike

有没有人设法让 SonarQube 与 Upsource 合作?我已经为 SonarQube 下载了 upsource-sonar-plugin-0.1-SNAPSHOT.jar 插件,并在我通过/s 开关添加的 SonarQube 设置文件中设置了以下内容

<Property Name="sonar.upsource.url">url to my upsource</Property>
<Property Name="sonar.upsource.project">my upsouce project id</Property>
<Property Name="sonar.upsource.revision">svn revision number</Property>
<Property Name="sonar.upsource.token">See below</Property>

对于 sonar.upsource.token 我已经尝试了 Upsource Build
身份验证 token 和用户永久 token 。

当我运行时,我没有收到任何错误
SonarQube.Scanner.MSBuild.exe end /d:sonar.login="*******"

并在输出中获得以下内容
INFO: More about the report processing at http://**********
INFO: Executing post-job Push issues to Upsource

但是,我没有在 Upsource 中看到有关 SonarQube 发现的任何信息。

最佳答案

好的,我已经设法让它发挥作用。您需要在开头添加以下内容

/d:sonar.analysis.mode=issues

环境。是的,我知道这在 SonarQube 6.6 版中已折旧,但是,它可以正常工作。我已经针对 SonarQube 的 6.5、6.7 和 7.0 版本对此进行了测试。

关于sonarqube - Upsource 和 SonarQube,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49779580/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com