Hello
I am trying to scan C files for a local dir using developer trial version
sonarqube-8.5.0.37579
sonar-scanner-4.5.0.2216-linux
sonar-project.properties
#must be unique in a given SonarQube instance
sonar.projectKey=VCS
# --- optional properties ---
# defaults to project key
#sonar.projectName=My project
# defaults to 'not provided'
#sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Defaults to .
#sonar.sources=.
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
sonar.language=c
sonar.cfamily.build-wrapper-output=.
You might have missed in our documentation that we require use of a build-wrapper utility when analyzing C-family language projects. The build-wrapper will generate an output directory that you must then include as a parameter when you invoke the sonar-scanner.
Thanks for reply
I have downloaded also the build wrapper
The issue persist
I also configured a sub directory for scan but it seems it scans all root dir
sonar-project.properties
#must be unique in a given SonarQube instance
sonar.projectKey=VCS
— optional properties —
defaults to project key
#sonar.projectName=My project
defaults to ‘not provided’
#sonar.projectVersion=1.0
Path is relative to the sonar-project.properties file. Defaults to .
sonar.sources=pgsql_sip_pool
Encoding of the source code. Default is default system encoding