Skip to content

Transitioning from SonarCloud to Qodana: Baseline Management Questions #262

Answered by brichbash
rcdailey asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

What is the best way to replicate the "New Code" semantics from SonarCloud in Qodana?

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.

How can I avoid the need to store baseline state files in my Git repository? Is there a built-in method for the GitHub Action to handle persistence of that file?

There isn't any built-in feature like that. Although we're looking…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rcdailey
Comment options

@zheleznovster
Comment options

@njimenezotto
Comment options

Answer selected by rcdailey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants