Hi Guys,
I am trying to import external issues for a custom language. The custom language has files with an .mp suffix. When I run sonar-scanner with -X, I get these lines:
16:40:06.096 DEBUG: ‘home/…/dda_web_svc.mp’ indexed with no language
16:40:06.098 DEBUG: ‘home/…/validation_to_junit_sonar.mp’ indexed with no language
16:40:06.111 INFO: 9 files indexed
16:40:08.396 DEBUG: Importing issues from ‘validation-sonar.json’
16:40:08.402 INFO: Imported 0 issues in 0 files
16:40:08.405 INFO: External issues ignored for 7 unknown files, including: /home/*/dda_web_svc.mp, etc etc
If I force the scanner to treat my .mp files as python using this tag in my sonar-project.properties:
sonar.python.file.suffixes=.mp
then the system still ignores the files in my external issues. But, it does attempt to scan them using the python sensor. Since it doesn’t parse, the sensor produces silly results.
Is there any way to get the scanner to import my issues even though the indexer doesn’t know the language?
Thanks
Geoff
Versions
- sonar-scanner-4.7.0.2747-linux
- sonarqube-9.6.0.59041