Add quality profile by a script

Hi Elio,

Ideally, you’re only going to need to create your Quality Profiles once because they are stored in the DB. You would then just make sure you always point to the same DB and you’re good. But if this doesn’t work for you, take a look at the web apis (docs link in the page footer).

The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

You may also find this guide helpful.

You should treat SonarQube’s DB as a black box & therefore not have a need to reach it directly.

 
HTH,
Ann