automatic configuration.
09:24:44 INFO: Load branch configuration (done) | time=1ms
09:24:44 INFO: Auto-configuring with CI 'Jenkins'
09:24:44 INFO: Load quality profiles
09:24:45 INFO: Load quality profiles (done) | time=350ms
09:24:45 INFO: Auto-configuring with CI 'Jenkins'
09:24:45 INFO: Load active rules
09:24:57 INFO: Load active rules (done) | time=11335ms
09:24:57 INFO: Branch name: feature/Update-sonarqube
09:24:57 INFO: Indexing files...
09:24:57 INFO: Project configuration:
09:24:57 INFO: Excluded sources: /**/*java, client/tests/**/*, targets, client/security/820sconfig/**/*, client/3rdparty/**/*, /**/*.ts, client/simulator/**/*
09:24:57 INFO: ------------------------------------------------------------------------
09:24:57 INFO: EXECUTION FAILURE
09:24:57 INFO: ------------------------------------------------------------------------
09:24:57 INFO: Total time: 15.792s
09:24:57 INFO: Final Memory: 8M/80M
09:24:57 INFO: ------------------------------------------------------------------------
09:24:57 ERROR: Error during SonarScanner execution
09:24:57 ERROR: Language of file 'client/common/datalistener.h' can not be decided as the file matches patterns of both sonar.lang.patterns.cov-cpp : **/*.cpp,**/*.cc,**/*.c++,**/*.cp,**/*.cxx,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h,**/*.m,**/*.mm and sonar.lang.patterns.c : **/*.c,**/*.h
09:24:57 ERROR:
09:24:57 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
尝试修复此问题
1条答案
按热度按时间bqujaahr1#
根据消息:
这意味着您必须访问:
${SONARURL}/admin/settings?category=languages
,隶属行政部门|语言,选择合适的语言选项并根据需要调整重复语言“文件后缀”。或者删除额外的插件。