Can I export my test results?
  • 14 Apr 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Can I export my test results?

  • Dark
    Light
  • PDF

Article Summary

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


Was this article helpful?