SonarQube not considering the wildcard paths for Lcov.info files

Hi,

We are using SonarQube 8.9.6 community edition.

When we are running Multi-Module-project(Java& Angular),facing some issue with lcov report path issue.

Project structure:
Multi-module-project
Module1
src
pom.xml
Module2
src
pom.xml
pom.xml
sonar-project.properties

We were gave coverage report paths for java & Angular modules as

     for java:  **/*jacoco.xml
     for angular:   **/*lcov.info

We were able to get code coverage for java module only on sonarqube dashboard. Wildcard path is working fine for java projects. Fcaing issues with the Angular (LCOV)

In the Jenkins console output getting this below error.

WARN: No coverage information will be saved because all LCOV files cannot be found.
WARN: Provided LCOV file path /*lcov.info. seek file with path: /apps/Jenkins/workspace//*lcov.info

Is Sonarqube community Edition considering the wildcard paths for Lcov.info (For Angular) ?

Quick response is appreciated.

Thanks,
Ediga Naresh Goud.

Hey there.

This was addressed after SonarQube v8.9 LTS was released – and can be used with SonarQube v9.4.

Hi Colin,

Is we need to upgrade the SonarQube 8.9.6 Community edition to latest version?

Is this feature is avilable in SonarQube Enterprise edition 8.9.6?

Regards,
Naresh

You would need to upgrade to v9.4 to take advantage of this feature, regardless of the edition.

Thanks for update Colin.

Regards,
Naresh

It is working fine with sonarqube-9.2.4.50792

Our client is using 8.9.6 but i tried on my local using 9.2.4 SonarQube community edition , it is working Fine

We only support the latest non-LTS version – which is why I pointed you to SonarQube v9.4 (the change may have come earlier).