> Le 3 août 2016 à 16:35, Lorenzo Bettini <[email protected]> a écrit :
> 
> 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
>>  
>> <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 I
> understand, we need to use the sonar plugin to run the analysis since
> HIPP 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 the
> sonar plugin in hudson (where the user and password are unknown to us
> and kept hidden)
> 
> -Dsonar.jdbc.driver=com.mysql.jdbc.Driver
> -Dsonar.jdbc.url=jdbc:mysql://dbmaster:3306/sonar?autoReconnect=true&useUnicode=true&characterEncoding=utf8
> ******** ******** -Dsonar.host.url=http://sonar.eclipse.org:9000/sonar 
> <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

_______________________________________________
cross-project-issues-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to