Hi,
Thanks for the log.
2025-01-09T16:59:26.853901083Z 16:59:26.775 INFO: Scanner configuration file: /opt/sonar-scanner-5.0.1.3006-linux/conf/sonar-scanner.properties
This version has some age on it. The current version of SonarScanner CLI is 6.2.1.
What are the languages of this repository? Going further in the log, we see that only a few analyzers are loaded:
2025-01-09T17:00:07.455654893Z 17:00:07.413 DEBUG: Plugins not loaded because they are optional: [abap, sonarapex, csharp, cpp, cfamilydependencies, cobol, dbd, dbdjavafrontend, dbdpythonfrontend, flex, go, web, jcl, javasymbolicexecution, java, javascript, kotlin, php, pli, plsql, python, rpg, ruby, sonarscala, swift, tsql, vbnet, vb, security, securitycsharpfrontend, securityjsfrontend, securityjavafrontend, securityphpfrontend, securitypythonfrontend, dart]
2025-01-09T17:00:07.611241278Z 17:00:07.571 DEBUG: Plugins loaded:
2025-01-09T17:00:07.615171744Z 17:00:07.571 DEBUG: * Text Code Quality and Security 2.16.0.4008 (textenterprise)
2025-01-09T17:00:07.615196457Z 17:00:07.571 DEBUG: * Clean as You Code 2.4.0.2018 (cayc)
2025-01-09T17:00:07.615202262Z 17:00:07.572 DEBUG: * XML Code Quality and Security 2.10.0.4108 (xml)
2025-01-09T17:00:07.615206758Z 17:00:07.572 DEBUG: * JaCoCo 1.3.0.1538 (jacoco)
2025-01-09T17:00:07.615211056Z 17:00:07.572 DEBUG: * IaC Code Quality and Security 1.36.0.12431 (iac)
2025-01-09T17:00:07.615215580Z 17:00:07.572 DEBUG: * Text Code Quality and Security 2.16.0.4008 (text)
Basically, there’s nothing language-specific here. That tells me that no real code files were detected in the initial scan for changed files.
You need to back up to your checkout. Make sure your prerequisites are in place.
And again, you should drop your manual PR analysis parameter configuration and see if that helps:
2025-01-09T17:00:09.768259308Z 17:00:09.730 INFO: Found manual configuration of branch/PR analysis. Skipping automatic configuration.
Ann
P.S.
2025-01-09T16:59:55.007796376Z 16:59:54.970 DEBUG: Data Center 10.7.0.96327
As a Data Center customer, you have access to our Support Engineers who have SLAs…