Can I export my test results?
  • 11 Aug 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Can I export my test results?

  • Dark
    Light

Yes, you can. You can use our .CSV export tools to export to a .CSV file.

To export results for CodeScan Cloud or CodeScan Self-Hosted, you can use our npm tool. Click here to find out more.

You can use our CSV plugin if you want a self-hosted GUI tool. See below for details.

Installation

Note:

The .CSV plugin requires a SonarQube™ (6.5+) installation.

  • First, download the .CSV export plugin from here. It’s available as a ready-to-go .JAR file or an archive of source code (.ZIP and .TAR.GZ) .

  • Copy the .JAR file into your SonarQube™ plugins folder at “(your SonarQube™ directory)/extensions/plugins/“.

Start your SonarQube™ server and run a scan on one or more projects. When the scan is finished, click on the More drop-down menu at the top of the screen. Click on CSV Issue Export and you’ll be given a list of filters and all projects currently in SonarQube™.
image.png

Choose the filters you require and click the project name to download the .CSV report for that project with the selected filters. Open the file with a spreadsheet editor to view your project's issues.
image.png

There is a limit of 10,000 issues per export. If this occurs, please add filters to narrow your selection.


Was this article helpful?