Hi there,
I have created a pipeline, where I am scanning for code smells. I am currently using codeclimate as the tool and sonar java as the code quality analyser.
Going through the code base i realised you guys have assigned defaultSeverity to each check.
Is there a way to override that and pass a different value as I am scanning multiple repos and for each repo I feel, one check can be a little more “Critical” than the other.
Hi,
Welcome to the community!
There is certainly a way to override the default severity - if you use SonarQube. But using the analyzer standalone? Sorry, no.
Ann
1 Like
Hi Ann
Thanks for the response. I am using codeclimate and for analyser i am using sonar java. This setup is for our cicd pipeline.
Based on this, there is no way to update the severity of a check on runtime ?
Regards
Ansh
Hi Ansh,
The way to update severities is to swap in SonarQube or SonarCloud for Code Climate.
Ann
Hi Ann
Thanks a lot for the insights.
Regards
Ansh