Hi,
we are running SonarQube on a mixed C++ / Python project hosted on BitBucket and built on Bamboo. Since our project is very large, we have “Enable incremental mode using the diff of pull requests (Bitbucket Server)” enabled in the Sonar Scanner Bamboo task to reduce build time.
If there is only a change to a .py or .h file, the scanner fails with the message “The “build-wrapper-dump.json” file was found but 0 C/C++/Objective-C files were analyzed.” Since we have “Fail build if the task execution result in error” enabled, our builds fail if there was no change in a .cpp file. Is there any way to tell the cfamily plugin or sonar scanner that this is not a task execution error?
SonarQube Enterprise Edition Version 9.5
Scanner version: 4.6.2.2472
CFamily plugin version: 6.34.0.48468
Thanks