Re: [cross-project-issues-dev] Service downtime
|Please fill a bug about your wish to call sonar analysis from maven. Frederic will help with the settings file.|
On 17/08/2016 10:47, Mikaël Barbero wrote:
Thank you Mickael for the answer,then could you please handle this?thanks again Lorenzo
Le 3 août 2016 à 16:35, Lorenzo Bettini <lorenzo.bettini@xxxxxxxxx
<mailto:lorenzo.bettini@xxxxxxxxx>> 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.
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.url="" class="">******** ******** -Dsonar.host.url="" href="http://sonar.eclipse.org:9000/sonar" class="">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.
-- Prof. Lorenzo Bettini, Computer Science, DISIA, Univ. FirenzeHOME: http://www.lorenzobettini.itXtext Book:http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
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...
Description: Message signed with OpenPGP using GPGMail