It's all about the answers!

Ask a question

Integration between RTC and Sonar


Marcelo Martelli Aymori (3123) | asked Oct 28 '13, 8:21 a.m.
Hello everybody,

My question is, there is any direct or indirect integration between RTC and Sonar?
Could somebody answer me?

Thank you in advance.

Accepted answer


permanent link
Abraham Sweiss (2.4k1331) | answered Oct 28 '13, 9:04 a.m.
Direct Approach: RTC does not have an adaptor which will integrate RTC with Sonar.   
Indirect Approach:  RTC provides an API for users to create custom applications.
Marcelo Martelli Aymori selected this answer as the correct answer

3 other answers



permanent link
sam detweiler (12.5k6195201) | answered Oct 28 '13, 8:57 a.m.
We hooked it into our build (Team City/Jenkins), not specifically into RTC.
see http://docs.codehaus.org/display/SONAR/Continuous+Integration

Comments
Marcelo Martelli Aymori commented Oct 28 '13, 9:17 a.m. | edited Oct 28 '13, 3:52 p.m.
Thank you guys for responding so quickly. 
The answer was satisfactory and clear.

Best Regards, 

Marcelo Martelli Aymori.

permanent link
sam detweiler (12.5k6195201) | answered Oct 28 '13, 9:09 a.m.
But you probably wouldn't want to integrate directly into RTC. The code scanning takes a long time (from a UI perspective).

you would have to drag the code out of the source system to have sonar scan it.. thats exactly what happens at build time.

and you want to look at the results of the complete collection. one file view is probably totally unhelpful.
use the project dashboard to put up some sonar reports so you can see the progress (you have to define that) as the sprint/release progresses.


permanent link
Nagaraj Chinni (1) | answered Jul 01 '14, 7:02 a.m.
Not sure if it's too late. But here is the write up from IBM Developerworks. This one is for DevOps, but the RTC integration with SONAR is still applicable.
http://www.ibm.com/developerworks/rational/library/integrate-sonarqube-devops-environment/index.html?ca=drs


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.