Sonarqube cnes report not generated ( windows)

I am using sonarqube v9.1.0 , and sonar-cnes-report-4.0.0.jar , but once trying to generate the report ( More → CNES report → generate ) , I get the following error

{“errors”:[{“msg”:“An error has occurred. Please contact your administrator”}]}
Sonarqube Logs :

jvm 1 | 2021.11.12 09:12:29 INFO app[][o.s.a.SchedulerImpl] Process[ce] is up
jvm 1 | 2021.11.12 09:12:29 INFO app[][o.s.a.SchedulerImpl] SonarQube is up
jvm 1 | nov. 12, 2021 9:12:46 AM fr.cnes.sonar.report.ReportCommandLine execute
jvm 1 | INFO: SonarQube URL: http://localhost:9000
jvm 1 | nov. 12, 2021 9:12:46 AM fr.cnes.sonar.report.ReportCommandLine execute
jvm 1 | INFO: SonarQube online: true
jvm 1 | nov. 12, 2021 9:12:46 AM fr.cnes.sonar.report.ReportCommandLine execute
jvm 1 | INFO: Detected SonarQube version: 9.1.0\

Hello Khalil,

Welcome to the community!

The CNES Report plugin is a community plugin written developed by CNES, not SonarSource, and we have no influence over it. After having a look at their documentation, it seems as though they do not currently support SonarQube 9.1.

I would suggest you get into contact with the developers of the plugin directly and see if support with newer SonarQube versions can be added. You can find the GitHub project of the plugin here.

Hi,

according to the compatibility matrix at GitHub - cnescatlab/sonar-cnes-report: Generates analysis reports from SonarQube web API.
the latest version 4.0.0 works only for the current Sonarqube 8.9.x LTS version.

That said, others made it work for Sonarqube 9.x, see

Guess you’ll just have to edit the static version in code, see

and give it a try.

Gilbert

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.