How to do branch pull request analysis using Jenkins pipeline

  • which versions are you using (SonarQube 8.7) and SonarScanner 4.6.2.2472
    *Pull request analysis wia jenkins pipeline because I need to send couple of reports on the basis of github doesn’t allow me to run command to pass report and dynamic location of test sources.
  • I trying to find command which only takes file Pull request file for scanning in pipline