we have enterirpise SQ setup on premis and it is setup to do Sonar Gerrit
but we are observing that scan is taking long to complete as it is running on entire repo and not JUST scanning the changed files. any guidance how can we avoid delay of scanning unnecessary entire repo?
we just want only changed files to be scanned that are part of patchset in gerrit.
# Exclude test subdirectories from source scope
This isn’t a supported method of speeding up analysis. And, later in the v9.x series, we introduced proper incremental analysis for pull request analysis.
So make sure you upgrade to SonarQube v9.9 LTS soon, not only to benefit from our Best LTS Ever™, but because soon we will systematically ask users to upgrade when they ask questions about earlier versions of SonarQube, which are now considered unsupported.
what are we missing in configuration of sonar scanner or server that analysis is not showing any results after successful pull branch analysis is performed? we need no files listed on sonarqube. any reason what am. i missing?