We have set up pull request analysis with GitHub.
I am wondering what are the mandatory parameters?
In the docs (here) the following parameters are mentioned:
sonar.pullrequest.keyUnique identifier of your PR. Must correspond to the key of the PR in GitHub or TFS.
sonar.pullrequest.branchThe name of the branch that contains the changes to be merged.
sonar.pullrequest.baseThe long-lived branch into which the PR will be merged.
Are all of these mandatory?
TeamCity already gives me the name of the branch it’s running on, so this is not an issue, but the other 2 are harder to obtain - how can i set up my automated CI process to get those parameters (PR key and base branch?)