Must-share information (formatted with Markdown):
- SonarQube Server Enterprise Edition v9.9.7 (build 96285)
- CFamily plugin version: 6.41.2.69583
- Experience Level : First time with both Gitlab and Sonarqube, absolute beginner, doing a PoC with SonarQube to prove if SonarQube can be used at company
- SonarQube deployed: On-Premises installation / Docker
- Scan a C/C++/Qt based embedded project, the project is currently built using “rpmbuild”, and need to integrate that with on-premises Gitlab instance where the code is at
- Followed the instructions here GitHub - sonarsource-cfamily-examples/linux-cmake-gitlab-ci-vulnerability-reports-sq: An example C++ repository built with CMake on Linux using GitLab CI and analyzed on SonarQube with Vulnerability Reports
- there is a failure ERROR: Error during SonarScanner execution java.lang.IllegalStateException: The “build-wrapper-dump.json” file was found but 0 C/C++/Objective-C files were analyzed.
- am attaching parts of verbose logs (unable to send the entire log due to confidential nature), sonar-project.properties, build.sh and gitlab-ci.yml files here (actual app names are text replaced for security purposes, and non-relevant lines are removed.
all-files.zip (3.2 KB)