-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sonar.cxx.file.suffixes not working in the UI #2136
Comments
Hi @lg2de,
Think should be Ant-style patternFollowing matchFilePattern rules are applied:
Some examples of path patterns:
Regards, |
I've changed the configuration from |
@lg2de we are using and testing only with https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/. Maybe you can do a simple test from the command line with https://github.com/SonarOpenCommunity/sonar-cxx/tree/master/integration-tests/testdata/hello_world. |
The problem is related to the setting Do you have any idea? |
Thanks for the feedback @lg2de. I will have a look. In case you configure it only on the server, do you see in the log file:
|
Not exactly:
|
@lg2de that is wrong. Looks like it is handled as one single string and not as an array of strings. Are you sure you added each file extension in a single field like below: |
@lg2de think description is also confusing. It describes command line and not UI:
|
Confirmed, that correct configuration gets the plugin working fine. Thanks for your support! |
Describe the bug
I've updated my test system to V2 of this plugin to test whether #2121 fixes #2118.
I've updated configuration according to the wiki instructions.
The plugin does not process the input: "'CXX Cppcheck report import' skipped because there is no related file in current project"
Log extries
cppcheck execution:
final analyzer step filtered by "cppcheck":
filtered by "cxx":
Desktop (please complete the following information):
Additional information
I've added old and new configuration format for "reportPath(s)" to better compatibility of our scripts.
According to the wiki instruction the old and the new parameter should work. But I do not receive the mentioned warning.
The text was updated successfully, but these errors were encountered: