Incomplete report on pull request

I have a strange problem on my sonarqube result connected with jenkins.
In my projet, i modified the sonar.sources value in order to add xslt file analized by sonar.

  • When jenkins launch a build job on my branch, i got a complete result for my code.
  • When jenkins launch a build job on the pull request, only the pom.xml is found into my report.

I use :

  • Maven 3.6.3
  • Sonar Developer Edition Version 8.9.1 (build 44547)
  • Jenkins 2.303.1
  • Bitbucket cloud for SCM

Any idea about where i make a mistake ?



I’ll start with the dumb question: Is the xslt file changed in your PR?

And if so, can you provide your analysis logs, starting with the analysis command?


the xslt file didn’t change, but they previously not been analized. the PR goal is to add them to the analized code.


In a PR analysis you’re only going to see files that changed in the PR. The xslt didn’t change, so that’s why it’s not showing up.


Is it up to the plugin to check if the file has changed ?
We use an opensource unofficial plugin.

If you’re telling me you’re using the Community Branch plugin, then I can’t help you with it.

And the determination of “new” is based on SCM dates.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.