No coverage information on PR Decoration

Hi there!

I have my analysis schema set with the following parameters:

  'sonar.organization': organization,
  'sonar.projectKey': projectKey,
  'sonar.projectName': projectName,
  'sonar.sources': sources,
  'sonar.tests': sources,
  'sonar.pullrequest.key': process.env.NX_BRANCH,
  'sonar.pullrequest.branch': process.env.HEAD,
  'sonar.pullrequest.base': process.env.BASE,
  'sonar.sourceEncoding': 'UTF-8',
  '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',

Captura de Tela 2022-03-07 às 13.25.19

but the pr decorations always reset, no coverage information mainly, the same code worked 3 months ago, has anything changed?

Captura de Tela 2022-03-07 às 13.26.46

print from 3 months ago

Hi,

What does your analysis log show about the import of your coverage reports?

 
Ann

Hi! @ganncamp, tks for your reply… if i set ‘sonar.scm.disabled’: ‘true’, sonar reports the file that I changed correctly on pr decoration, but if I change a test file for example it doesn’t pull the file with the new coverage