【问题标题】:sonar.host.url not valid in end phase of C# plugin in SonarQube for Bamboo 1.17sonar.host.url 在 SonarQube for Bamboo 1.17 中 C# 插件的结束​​阶段无效
【发布时间】:2018-06-05 10:20:47
【问题描述】:

我们将 SonarQube for Bamboo 插件更新到最新版本 1.17.0,现在我们的 SQ 集成已损坏。没有报告发送到我们的 Sonar Qube 服务器。我在 Bamboo 构建输出中收到这些错误:

This setting is not valid in the "end" phase in this version of the C# plugin: sonar.host.url
Failing task since return code of [C:\sonar\bin\MSBuild.SonarQube.Runner.exe end /d:sonar.host.url=http://[ip-address]:9000/sonar /d:sonar.login=*** /d:sonar.password=*** was 1 while expected 0

还有:

SONAR4BAMBOO: was not able to find a SonarQube result URL

似乎在进程的某个地方它正在传递 sonar.host.url 作为执行运行器的参数,但是在最新的 SonarQube for Bamboo 插件中,出于某种原因,这不再被允许了吗?有没有人为 Bamboo 更新了 SonarQube 并遇到了类似的问题?

【问题讨论】:

    标签: c# sonarqube bamboo sonar-runner


    【解决方案1】:

    我是插件的作者。我们刚刚发布了一个错误修复版本 1.7.1,它只在 MSBuild 结束任务中设置了 sonar.login 参数,从而解决了这个问题。

    最好的问候, 迈克尔

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-11-26
      • 1970-01-01
      • 2014-07-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-28
      相关资源
      最近更新 更多