We have installed sonarqube 8.0 community version.
Installed plugin “sonarqube-community-branch-plugin-1.3.1.jar”
for Pull request analysis but we need to dynamically take the below info from github webhook trigger. not finding anything on google. any help.
once we raise a pull request, our jenkins job is getting trigger fine with help of github pull request builder plugin. our webhook payload also showing triggered. but we cant dynamically pick the branch from where PR raised and what is the key for PR.
Please help how to get these fill dynamically in jenkins.
sonar.pullrequest.base=master
sonar.pullrequest.branch=sonar-test
sonar.pullrequest.key=2900
sonar.pullrequest.provider=GitHub
sonar.pullrequest.github.repository=my-company/my-repo