Export Report as CSV for Sonar Developer Edition

Hi Team,

Currently, We are trying to export the result in CSV format.
Steps we followed,

  1. Download the sonar-csv-export-plugin-1.3.jar from https://binaries.sonarsource.com/
  2. Copied this jar into extension/Plugin folder.
  3. restarted the sonar qube.

After this, Sonarqube itself not boot up. When we remove the plugin and restart it works.

Sonar Qube Verrsion - 10.1.0.73491
Edition - Developer Edition
Database - Local Database
Plugin version - sonar-csv-export-plugin-1.3.jar

ERROR:

ERROR web[o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
java.lang.IllegalStateException: Fail to load plugin CSV Export [csvexport]
at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:81)
at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:660)
at org.sonar.server.platform.PlatformImpl.start(PlatformImpl.java:214)
at org.sonar.server.platform.PlatformImpl.startLevel34Containers(PlatformImpl.java:194)
at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(PlatformImpl.java:362)
at org.sonar.server.platform.PlatformImpl$1.doRun(PlatformImpl.java:113)
at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.run(PlatformImpl.java:346)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NoClassDefFoundError: org/sonar/api/web/RubyRailsWebservice

Please help to resolve this issue.

Regards,
Mohamed Riyaz

Hey there.

This is a community-supported plugin – and you probably want to reach out to the maintainer if it’s not working as expected. GitHub - codescan-io/sonarqube-csv-export-plugin: SonarQube CSV Export Plugin

Hi Colin,

Thanks for the reply, We started to implement this plugin installation. So Can you please suggest which is the best practice to export the result into CSV.

Sonar Qube Verrsion - 10.1.0.73491
Edition - Developer Edition
Database - Local Database

Regards,
Mohamed Riyaz