Hello @Colin . Thanks for your reply. Also we have update SonarQube to version 18.104.22.168563. For the tests we have created a new repo with a single C file (counter.c) to try if everything is working.Complete new sonar.properties file with the suggested configurations from SonarQube. Quality Gate is enabled by default. We have the same behavior. The file is not covered at all. As you suggested, i am adding the log from the pipeline. sonar.log (85.6 KB)
Every suggestion will be much appreciated.
From what I can see in your log, there is a problem in the way the build-wrapper is called.
You are calling the build-wrapper with the command that configures your build. Because of this, the build-wrapper can only see the way CMake tests files are compiled. Not your files.