有没有人设法让 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 构建身份验证令牌和用户永久令牌。
运行时我没有收到任何错误
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 发现的信息。