I am doing sonar cloud analysis for my CPP project using Jenkins.
I am building this project using Conan package manager and Cmake.
I am getting ERROR:
Error during SonarScanner execution
java.lang.IllegalStateException: The Compilation Database JSON file was found but 0 C/C++/Objective-C files were analyzed. Please make sure that:
you are correctly invoking the scanner with correct configuration
your compiler is supported
you are providing the path to the correct Compilation Database JSON
you are building and analyzing the same source checkout, absolute paths must be identical in build and analysis steps
ohh. can you explain to me the things below whats it means?
INFO: Compilation database was generated by build-wrapper 6.56
INFO: Number of compilation units in the provided Compilation Database: 28
INFO: Number of skipped unsupported compilation units: 3
INFO: Number of skipped non-indexed compilation units: 24
INFO: Number of skipped duplicate compilation units: 0
INFO: Number of remaining compilation units to be analyzed: 1