Yesterday I downloaded Sonar and scanned my Angular/TS project by running this inside the project folder in cmd:
sonar-scanner.bat -D"sonar.projectKey=Angular1" -D"sonar.sources=." -D"sonar.host.url=http://localhost:9000" -D"sonar.login=<token value>"
, noticed it found something it’s not exists at all which was deleted completely from the folder a while ago. After some study I realized it’s pulling from the
- sonarqube=18.104.22.168852, Windows 10 (64-bit), VSC=1.56.2, Angular=11
- what are you trying to achieve = Tell Sonar not to look into
.gitfolder at all, so it just focuses on latest build.
- what have you tried so far to achieve this = Manually removed the outdated and no-long-exists content from local