The file as removed, and close all associated issues


(zack hu) #1

My purpose:
I want to analysis only the new code,so mark the issues with the old code as won’t fix,
check the modified file when submit the code, modified file may not include all the files. SonarQube will consider the not include file as removed, and close all associated issues, if next analysis include these files, SonarQube will consider the file as new (it will only compare to previous analysis), and all reported issues will be considered as “new”. won’t fix issues will be invalid.
Is there a way to not close the associated issues or other methods to achieve my purpose? please help me.