title: How to get pull request id from Jenkins Pipeline
body: <p>I'm trying to analyse my source code with Sonar using Jenkins pipelines. To ask Sonar to notify Github with the results I need to specify the Pull Request ID. </p>
  
  <p>How can I get this Pull Request ID from Jenkins Pipelines? </p>
  
  <p>We are using <code>GitHub Organization Folder Plugin</code> to build pull requests, not <code>GitHub pull request builder plugin</code>. That's why <code>$ghprbPullId</code> is not working for me. Any ideas how to get the pull request id in a different way? </p>