How to import rules.csv to sonar?

后端 未结 2 1945
孤城傲影
孤城傲影 2021-02-14 09:20

I have a rules.csv file which I downloaded from another site, how do I import this to my sonar?

I do not have the credentials to get the XML file.

相关标签:
2条回答
  • 2021-02-14 10:06

    i figure it out. if you MUST get the rules from another group then do this:

    1. click configuration and choose the quality profile
    2. click the permalink tab
    3. copy the xml of all the rules you wanted, save them accordlying
    4. create a new profile and use those files you saved as the new rules
    0 讨论(0)
  • 2021-02-14 10:10

    you cannot import a CSV file into Sonar. You can only import XML backups for quality profiles, or XML rulesets files for specific tools (Checkstyle, PMD, ...)

    CSV is just a way to export rules, but not to import them.

    0 讨论(0)
提交回复
热议问题