AWS codepipeline is success but in sonarqube,am getting msg as "The main branch has no lines of code

I have created Codepipeline for sonarqube. my sonarqube is hosted in azure devops VM. Pipeline is getting success but in sonarqube, am getting this message "
The main branch has no lines of code.
version: 0.2
phases:
install:
runtime-versions:
dotnet: 6.0
pre_build:
commands:
- echo Restore started on date
- export PATH=“$PATH:/root/.dotnet/tools”
- pip install --upgrade awscli
- wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472-linux.zip
- unzip sonar-scanner-cli-4.6.2.2472-linux.zip

build:
commands:
- dotnet tool install -g Amazon.Lambda.Tools
- dotnet tool update -g Amazon.Lambda.Tools
- dotnet tool install --global dotnet-sonarscanner
- npm install -g serverless
- dotnet restore
- dotnet build
- dotnet test

  - ./sonar-scanner-4.6.2.2472-linux/bin/sonar-scanner -Dsonar.login=xxx -Dsonar.host.url=xxx-Dsonar.projectKey=Boost_service

Hi Team

Can anyone please help me on it.

Hi,

Can you provide your full analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann