Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

importing rules.csv file to sonar

Tags:

sonarqube

i am having a file rules.csv in ms-excel format. The rules.csv is downloaded from quality profiles of other sonar server.Now i want to implement my sonar with same quality profiles.now my questions are

  1. how to import csv file to sonar
  2. rules.csv file is enough to create the same quality profiles of other
like image 244
vinod Avatar asked Jan 17 '23 15:01

vinod


1 Answers

Steps to make a backup/reimport

  1. Go to Configuration --> Quality Profiles
  2. Click the Backup-Button of the desired profile and save the file
  3. Go to the target sonar instance
  4. Go to Configuration --> Quality Profiles
  5. Click Restore Profile (it is in the upper right corner and a bit hard to miss.)
  6. Select the previously saved file
  7. Done

Related Sonar documentation can be found here.

like image 122
oers Avatar answered Jan 25 '23 03:01

oers