Must-share information (formatted with Markdown):
-
which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Enterprise edition 8.9 -
what are you trying to achieve
After the first scan, add some new rules to the project quality Profile and continue scanning unchanged files to make sure they are scanned and not ignored. -
what have you tried so far to achieve this
Our findings:
- Profile A with a few rules was used to scan file F1 for the first time, and the scan passed without blocking problems ;
- Profile A adds some rules to form Profile B, and the file F1 has not been changed for 2 years. Profile B is used to scan the code containing the F1 file, and the file F1 is scanned without blocking problems