JetBrains / TeamCity.SonarQubePlugin

A plugin for TeamCity server allowing you to configure and run SonarQube analysis from the CI
Apache License 2.0
53 stars 31 forks source link

Second Sonar Build #12

Closed kiview closed 9 years ago

kiview commented 9 years ago

When having 2 sonar build steps inside the same build configuration, the second build step does not run sonar with the specified connection parameters, so sonar uses the default h2 database connection (which might not work).

atrwsr commented 9 years ago

It tries also to use the default sonarqube server : 'localhost:9000' even if I'm specifying the path to my sonar server !

kiview commented 9 years ago

Yes, it doesn't use any values from the connection parameters.

Linfar commented 9 years ago

Could you please describe why do you need to run sonar analysis twicely?

kiview commented 9 years ago

For example when I want to run the analysis for multiple profiles (which means multiple projects in Sonar).

Linfar commented 9 years ago

Fixed. Please update the plugin - https://teamcity.jetbrains.com/repository/download/TeamCityPluginsByJetBrains_TeamCitySonarQubePlugin_Build/431355:id/sonar-plugin.zip