SonarQube version: 188.8.131.5243
Jenkins version: v 2.150.1 LTS
SonarQube Scanner for Jenkins plugin version: SonarQube Scanner 184.108.40.2067
SonarCFamily plugin version: SonarCFamily 220.127.116.1116 (cpp)
Server OS version: Windows Server 2016 10.0 amd64
Java version: Java 1.8.0_201 Oracle Corporation (64-bit)
The Jenkins job using sonar scanner plugin does not analyze any of the C code of which it generates metadata.
Only code smells related to duplicated code are being reported in SonarQube. We have near 100K lines of code and SonarLint shows many errors that aren’t being reported.
Multiple files were "indexed with language ‘c’ " and show " generated metadata with charset ‘windows-1252’ "
Checked for component updates.
Tried modifiying Jenkins job analysis properties
We set Jenkins job analysis properties for sonar.projectKey, sonar.sources, sonar.cfamily.build-wrapper-output, sonar.sourceEncoding, sonar.exclusions
Our server is running both Jenkins & SonarQube