-
Hello everyone, I’m currently using SonarCloud to manage code quality, where "new code" is defined as any code committed since the last release (tag). The setup was straightforward, thanks to the Sonar CLI tooling that allows me to specify a version number for each run, automating the process effectively. Now, I am in the process of transitioning to Qodana, and while I've done extensive reading on its baseline functionality—particularly regarding its integration with GitHub Actions—I find the setup a bit complicated and frustrating for a few reasons:
With these concerns in mind, I have a few specific questions:
I appreciate any insights or guidance you can provide. Thank you in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello,
Currently, if you add problems to the baseline, all problems that are not in the baseline will be treated as "new". You don't necessarily need to do that via UI, if you pass the
There isn't any built-in feature like that. Although we're looking into storing baseline files on Qodana Cloud.
I'd say, you could create a conditional step that is triggered only by the |
Beta Was this translation helpful? Give feedback.
Hello,
Currently, if you add problems to the baseline, all problems that are not in the baseline will be treated as "new". You don't necessarily need to do that via UI, if you pass the
qodana.sarif.json
file (stored under${{ runner.temp }}/qodana/results
) produced by Qodana and pass it to the--baseline
flag, all problems from the file will go to baseline in the next report.There isn't any built-in feature like that. Although we're looking…