Issue with SonarQube PR scan where it is not scanning the updated files with the PR

Sonarqube version: Enterprise Edition Version 9.9.3
Sonarqube deployed on docker.

We are trying to scan PR from the CI/CD pipeline and it is not able to scan the files that has been updated or has syntax error and the on the sonarqube web console it is not showing any file in the code section.

Hi,

Welcome to the community!

Are you saying that analysis of all the updated files fails with syntax errors in the analysis log?

Can you share the 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.

 
Thx,
Ann