Monday, January 2, 2023

How to Deactivate a Rule in SonarQube | Deactivate a rule in Sonarqube community edition

 

How to Deactivate a Rule in SonarQube | Deactivate a rule in Sonarqube community edition

How to deactivate a rule in SonarQube Ruleset in Sonarqube 7.7 version. You can not deactivate a rule in built-in profile. You need to have your own profile by copying from built-in profile and then you can activate/deactive/customize rules at will.

Go to Quality Profiles---select a Profile---eg java

Create a custom profile by copying from built-in profile


Give some name

 Once you created click on Total rules 379 under Active

Now you can deactivate rule in SonarQube



Once you created custom profile, make sure you associate profile with your project or set as

No comments:

Post a Comment

How to Deploy to Kubernetes using Argo CD and GitOps

  How to Deploy to Kubernetes using Argo CD and GitOps Using Kubernetes to deploy your application can provide significant infrastructural a...