How to import xml report into SonarQube database?

552 views
Skip to first unread message

vkdinventor

unread,
Jun 27, 2017, 2:33:56 AM6/27/17
to SonarQube
HI

I have xml report generated by klockworks. How can I import this report into SonarQube database so that all issues are visible in SonarQube dashboard. 
I read developer guide but is only tells about adding new language support. https://docs.sonarqube.org/display/DEV/Extension+Guide

G. Ann Campbell

unread,
Jun 27, 2017, 8:12:11 AM6/27/17
to SonarQube
Hi,



Ann

SomeOne

unread,
Jun 27, 2017, 8:20:46 AM6/27/17
to SonarQube
I have already seen that answer but the link mentioned in that answer has been expired so I can't access that sonarqube plugin. Can you please provide a working link. 

Thanks 

G. Ann Campbell

unread,
Jun 27, 2017, 8:25:32 AM6/27/17
to SonarQube
Hi,

I got that one from Google. 


:-)
Ann

SomeOne

unread,
Jun 27, 2017, 8:30:25 AM6/27/17
to SonarQube
As of now I am using this plugin but but errors are not displayed on SonarQube dashboard .
I am getting below log

 Sensor CxxCppCheckSensor
INFO: Searching reports by relative path with basedir '/home/viraj/path' and search prop 'sonar.cxx.cppcheck.reportPath'
INFO: Scanner found '1' report files
INFO: Parser will parse '1' report files
INFO: Processing report '/home/viraj/path/kw_report_xml.xml'
INFO: Added report '/home/viraj/path/kw_report_xml.xml' (parsed by: CppcheckParserV1)
INFO: CppCheck Errors processed = 0
INFO: Sensor CxxCppCheckSensor (done) | time=187ms
INFO: Sensor CxxPCLintSensor
INFO: Searching reports by relative path with basedir '/home/viraj/path' and search prop 'sonar.cxx.pclint.reportPath'

On Tuesday, 27 June 2017 17:42:11 UTC+5:30, G. Ann Campbell wrote:

G. Ann Campbell

unread,
Jun 27, 2017, 8:32:39 AM6/27/17
to SomeOne, SonarQube
Hi,

I would be surprised if that plugin imported Klocwork issues. Nonetheless, problems with that plugin should be reported to its community rather than to this group.


Ann 



---
G. Ann Campbell | SonarSource
Product Manager
@GAnnCampbell

--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/T5ye4c5DXFc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/8dc98b15-a935-4dcd-b7c0-2fa35cbffc90%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages