Sonar doesnt shows metrics when it runs by aws codebuild

Sonar works well when i runs locally, sends the metrics to sonar cloud dashboard, but when i runs on aws codebuild, all metrics keeps in 0, including code coverage

'sonar.organization': organization,
'sonar.projectKey': projectKey,
'sonar.projectName': projectName,
'sonar.sources': sources,
'sonar.javascript.lcov.reportPaths': reportPath,
'sonar.typescript.lcov.reportPaths': reportPath,
'sonar.test.inclusions': '**/*.spec.*',
'sonar.coverage.exclusions': '**/*.js,src/main.ts,src/polyfills.ts,**/*environment*.ts,**/*module.ts',

Hey there.

A good place to start would be comparing the scanner logs from your local run alongside the scanner logs from AWS CodeBuild. Do you see any difference in the number of files indexed, warnings/errors emitted…?