[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cross-project-issues-dev] Service downtime
|
On 28/07/2016 12:25, Frederic Gurr wrote:My suggestion was to get this fixed in Hudson/Sonar plugin.
In the meantime, Mikael Barbero suggested that you don't need to use the Sonar plugin to run an analysis. According to http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Maven you can do it from Maven directly. The only thing that needs to be changed to make this work is the .m2/settings.xml file.
Maybe I'm still missing something (Mikael is in CC): from what Iunderstand, we need to use the sonar plugin to run the analysis sinceHIPP is configured with the correct user and password to access sonar,and this is kept hidden to us. In fact, I see this line when using thesonar plugin in hudson (where the user and password are unknown to usand kept hidden)-Dsonar.jdbc.driver=com.mysql.jdbc.Driver-Dsonar.jdbc.url=""> ******** ******** -Dsonar.host.url="">http://sonar.eclipse.org:9000/sonar
so how can I run the sonar analysis directly?
If you want to run the analysis straight from maven, we will add the credentials to the maven settings, and this -D won't be needed anymore as the sonar configuration will be retrieved from the settings file. Again, if the problem is the plugin version, would that be possible to downgrade that in HIPP?
I don't think it's possible. IIRC, we've upgraded the sonar plugin because the old does not work with new version of Hudson...
|
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail