I am Using Sonarqube for code analysis through jenkins with Sonarqube Scanner version 4.2.0 1873.
For source Code management i am using GitLab, so in one of my repositories i created the test and coverage folder respectively where in the coverage folder i also created the lcov.info file following the Sonarqube documentation.
Sonarqube 7.9.1 (Open Source)
Jenkins for Continuous integration
GitLab for Source Code Management
The Languages for which i will like to get the test coverage and reports are:
-Javascript (React, ReactNative and other frameworks)
HTML
Python
PHP (Laravel)
CSS
I still get 0% coverage on my sonarqube dashboard.
What can i do to get the test coverage on my dashboard?
And i will also like to generate reports for the various languages i stated above.
How are you passing information about the location of the coverage reports to the scanner?
As noted in the documentation on Test Coverage & Execution, you need to provide the path to the reports via the correct analysis parameters (information in a sonar-project.properties file, or on the command line)
Greetings,
I pass information through the sonar-project.properties file which i placed in the repository of the specified project found on a GitLab account.