dennisk
(Dennis Kavanagh)
April 24, 2019, 5:59pm
1
Hello,
We have been trying to incorporate the output from current version, RHEL 3.6b3, of coverage.py from Ned Batchelder, et al, into SonarQube v6.2 and run into issues with Coverage Display showing NOTHING.
Is this an issue of differences between v 6.2 and current requirements produced by coverage.py.
Thank You
Lena
(Elena Vilchik)
April 30, 2019, 9:53am
2
Hi,
SonarQube 6.2 is too old, it’s not maintained or supported. Please upgrade to 6.7 (LTS) or 7.7 (latest).
What matters here is the version of SonarPython analyzer (check in marketplace). Also provide analysis logs and project configuration.
FYI here is a doc about python coverage https://docs.sonarqube.org/display/PLUG/Python+Coverage+Results+Import
Regards,
Elena
dennisk
(Dennis Kavanagh)
April 30, 2019, 1:41pm
3
Thank You…
After further investigation, we are running 6.7 LTS…with 7.6 in the wings.
I am charged with getting some Report data out of SQ, but the only suggestion is to use the WEB API for XML type data.
Do you have a pointer to the WEB API Docs or examples for 6.7 LTS?
Thank You,
Dennis
ganncamp
(G Ann Campbell)
April 30, 2019, 4:04pm
4
Hi Dennis,
As was pointed out yesterday in one of your other threads, there is extensive Web API documentation linked from the footer of your instance.
https://community.sonarsource.com/t/how-to-get-reports-out-of-sonarqube/9244/3
Just in case, here’s a screenshot:
Ann
1 Like
dennisk
(Dennis Kavanagh)
May 3, 2019, 2:14pm
5
Thank You for the reply.
I do not see that footer in v6.7LTS?
Dennis
dennisk
(Dennis Kavanagh)
May 7, 2019, 9:24pm
7
Thank You for the reply…
Looking at the Web-Api you mentioned, I see that the sample outputs are in JSON.
Is that the only format reported out from your Web-Api?
Are there coded examples of extracting all Measures?
Great Product! We use it heavily in our work.
Thanks again
ganncamp
(G Ann Campbell)
May 8, 2019, 1:47pm
8
Hi,
Yes, JSON is the only format. We craft the Web APIs to fill our own needs in feeding the interface & that’s the only format we expect on the front end.
I can’t point you to any examples of data extraction (except, I guess, SonarQube itself).
Ann