SonarQube Enterprise+Jenkins+GitHub+PR Request

Hi @Clint.Cameron , Need your help

  • Versions using (SonarQube 8.5 enterprise)

  • what I am trying to achieve
    Decorate PR in GitHub for SAP hybris project.

  • what I have tried so far : I am able to manually run Jenkins which builds hybris code and then run ant target : ant sonarcheck to do sonaranalysis.

Help needed for PR decoration
Question 1: I know how to trigger Simple Jenkins job when PR raised in GitHub. But how to Get pull request key and pass to ant sonarcheck ?

Question 2: Next , how to integrate SonarQube with GitHub to decorate PR in above case?

Hi,

Please don’t invoke (@) people not already involved in your thread.

Regarding your question, it’s incumbent upon me to point out that your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. At the moment, SonarQube 8.9 happens to be both LTS and Latest.

Once you’ve done that, you might want to take a look at the current documentation. I guess the Jenkins docs are a good place to start.

 
Ann