Reputation: 31
How can I add rules to SonarQube (V4.5.2) via the web interface? The most easy and logical way would be to copy/duplicate an existing rule and then customize it, but I can not find this copy-functionality.
It is possible to add a new rule, but there is no way to add semantics to it here or to set the severity.
Upvotes: 2
Views: 6975
Reputation: 4708
You will not be able to add arbitrary rules directly from the UI.
What is possible from the Rules page is:
If you need to develop completely custom rules (e.g non existing ones), you will need to develop a plugin and provide an implementation (using Java code) for your custom rules.
Upvotes: 4