SonarQube Custom Plugin Quality Gate


I am working on a new Plugin Development for SonarQube. I would like to understand how to define Quality Gates from within the Plugin itself. It would really help if someone can point me into the direction from which i can working on it.


Hi Anudit,

It would probably help if you defined your end-goal, because I don’t think you’re going to be able to set a QG from a plugin.


My End Goal is to set a Quality Gate customizable and used in the Plugin as part of the report generation itself.

Okay, well. I’m not sure that’s going to be possible. Good luck.