Hi Ann,
Yes Thanks for the info - I was using the ‘Discover Pull Request’ strategy in jenkins as ‘Merging the pull request with the current target branch revision’ which had a local merge commit is not recognized by sonar scanner. After change the strategy to ‘The current pull request revision’ everything works fine.
Thanks again!