Different rule-sets on same repositories?

Hi,
We are running SonarQube version: 8.6.
I wonder if it is possible to have 2 different rulesets. We would like to be able to scan nightly the total sum of the code of a repository with less rules, while in the merge requests scan with the full ruleset.

Many thanks in advance!
Anders!

Hi Anders,

Welcome to the community!

You’ll need to set this up as 2 different projects / analysis jobs / 2 different sonar.projectKey values.

 
HTH,
Ann

Hi Ann,
Thanks for the prompt reply!
But does that mean we have to have a licens that cover 2x amount of code lines?
BR
Anders

Hi Anders,

Yeah, it does.

I didn’t bring that up because it wasn’t clear to me that you were on a commercial edition.

 
:woman_shrugging:
Ann