Sonar no code in main branch

Here are my logs below.

01:31:50 INFO: Scanner configuration file: /home/jenkins/agent/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties
01:31:50 INFO: Project root configuration file: NONE
01:31:50 INFO: SonarScanner 4.6.2.2472
01:31:50 INFO: Java 11.0.19 Eclipse Adoptium (64-bit)
01:31:50 INFO: Linux HIDDEN
01:31:51 INFO: User cache: /root/.sonar/cache
01:31:51 INFO: Scanner configuration file: /home/jenkins/agent/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties
01:31:51 INFO: Project root configuration file: NONE
01:31:51 INFO: Analyzing on SonarQube server 8.9.10
01:31:51 INFO: Default locale: “en”, source code encoding: “UTF-8” (analysis is platform dependent)
01:31:52 INFO: Load global settings
01:31:52 INFO: Load global settings (done) | time=238ms
01:31:52 INFO: Server id: HIDDEN
01:31:52 INFO: User cache: /root/.sonar/cache
01:31:52 INFO: Load/download plugins
01:31:52 INFO: Load plugins index
01:31:52 INFO: Load plugins index (done) | time=55ms
01:31:52 INFO: Load/download plugins (done) | time=147ms
01:31:53 INFO: Process project properties
01:31:53 INFO: Process project properties (done) | time=7ms
01:31:53 INFO: Execute project builders
01:31:53 INFO: Execute project builders (done) | time=1ms
01:31:53 INFO: Project key: com.qa:common-qa
01:31:53 INFO: Base dir: /home/jenkins/agent/workspace/common-qa_master/target
01:31:53 INFO: Working dir: /home/jenkins/agent/workspace/common-qa_master/target/.scannerwork
01:31:53 INFO: Load project settings for component key: ‘com.pbl.qa:common-qa’
01:31:53 INFO: Load project settings for component key: ‘com.pbl.qa:common-qa’ (done) | time=33ms
01:31:53 INFO: Auto-configuring with CI ‘Jenkins’
01:31:53 INFO: Load quality profiles
01:31:53 INFO: Load quality profiles (done) | time=55ms
01:31:53 INFO: Auto-configuring with CI ‘Jenkins’
01:31:53 INFO: Load active rules
01:31:55 INFO: Load active rules (done) | time=1083ms
01:31:55 INFO: Indexing files…
01:31:55 INFO: Project configuration:
01:31:55 WARN: File ‘/home/jenkins/agent/workspace/common-qa_master/src/main/java/com/pbl/qa/base/MobileBaseSetup.java’ is ignored. It is not located in project basedir ‘/home/jenkins/agent/workspace/appium-common-qa_master/target’.

@ganncamp Can you help me here

Hey there.

Please do not tag individuals in a thread who are not already engaged in a thread. Instead of bumping this to the top of Ann’s list – it actually moves it to the bottom.

Please read our FAQ, specifically this section .

And, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.9.10 → 9.9.1 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your issue persists after upgrade, please come back to us.