Getting surefire reports without relanching the whole mvn sonar:sonar

View: New views
4 Messages — Rating Filter:   Alert me  

Getting surefire reports without relanching the whole mvn sonar:sonar

by Seb- :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
After some troubles, I succesfully run mvn -Dsonar.dynamicAnalysis=false sonar:sonar and got the reports in the web console.
It took ~6hours.
Now I would like sonar to report on surefire report (generate through the usual build system) without having to relanch the whole sonar:sonar, and without having to wait for 6hours. So I added surefire path in the webconsole setting, is there a maven goal to extract the reports then?
Regards,
Sébastien.

Re: Getting surefire reports without relanching the whole mvn sonar:sonar

by Seb- :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Same question applies for cobertura (is there any maven goal that will only add report on cobertura, without the whole 6hours long mvn sonar:sonar)

Seb- wrote:
Hi,
After some troubles, I succesfully run mvn -Dsonar.dynamicAnalysis=false sonar:sonar and got the reports in the web console.
It took ~6hours.
Now I would like sonar to report on surefire report (generate through the usual build system) without having to relanch the whole sonar:sonar, and without having to wait for 6hours. So I added surefire path in the webconsole setting, is there a maven goal to extract the reports then?
Regards,
Sébastien.

Re: Getting surefire reports without relanching the whole mvn sonar:sonar

by Freddy Mallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Sébastien,

You can reuse both Cobertura and Sufire reports in the same analysis by using "sonar.surfire.reportPath=xxx" and "sonar.cobertura.reportPath=yyy" along with "sonar.dynamicAnalysis=false". But you can't append Surfire reports on an old Sonar quality snapshot.

If the static quality analysis without any build and test execution takes 6 hours, it means either your application is very/very  HUGE or your infrastructure is not suitable (use of Derby for instance ?)

regards,
Freddy


On Tue, Oct 27, 2009 at 1:57 PM, Seb- <seba.public@...> wrote:

Same question applies for cobertura (is there any maven goal that will only
add report on cobertura, without the whole 6hours long mvn sonar:sonar)


Seb- wrote:
>
> Hi,
> After some troubles, I succesfully run mvn -Dsonar.dynamicAnalysis=false
> sonar:sonar and got the reports in the web console.
> It took ~6hours.
> Now I would like sonar to report on surefire report (generate through the
> usual build system) without having to relanch the whole sonar:sonar, and
> without having to wait for 6hours. So I added surefire path in the
> webconsole setting, is there a maven goal to extract the reports then?
> Regards,
> Sébastien.
>

--
View this message in context: http://www.nabble.com/Getting-surefire-reports-without-relanching-the-whole-mvn-sonar%3Asonar-tp26081782p26082269.html
Sent from the Sonar user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: Getting surefire reports without relanching the whole mvn sonar:sonar

by Seb- :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Freddy,
Ok I will do this. In fact I run mvn with -X -e for tracking (because I used to have exceptions) so it might have slowed down the process, but yes it is analysing a > 1 Million LOC.
Thanks,
Sébastien.

Freddy Mallet wrote:
Hi Sébastien,

You can reuse both Cobertura and Sufire reports in the same analysis by
using "sonar.surfire.reportPath=xxx" and "sonar.cobertura.reportPath=yyy"
along with "sonar.dynamicAnalysis=false". But you can't append Surfire
reports on an old Sonar quality snapshot.

If the static quality analysis without any build and test execution takes 6
hours, it means either your application is very/very  HUGE or your
infrastructure is not suitable (use of Derby for instance ?)

regards,
Freddy


On Tue, Oct 27, 2009 at 1:57 PM, Seb- <seba.public@gmail.com> wrote:

>
> Same question applies for cobertura (is there any maven goal that will only
> add report on cobertura, without the whole 6hours long mvn sonar:sonar)
>
>
> Seb- wrote:
> >
> > Hi,
> > After some troubles, I succesfully run mvn -Dsonar.dynamicAnalysis=false
> > sonar:sonar and got the reports in the web console.
> > It took ~6hours.
> > Now I would like sonar to report on surefire report (generate through the
> > usual build system) without having to relanch the whole sonar:sonar, and
> > without having to wait for 6hours. So I added surefire path in the
> > webconsole setting, is there a maven goal to extract the reports then?
> > Regards,
> > Sébastien.
> >
>
> --
> View this message in context:
> http://www.nabble.com/Getting-surefire-reports-without-relanching-the-whole-mvn-sonar%3Asonar-tp26081782p26082269.html
> Sent from the Sonar user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>