I’m really struggling to get this working and I can’t figure out what I’m doing wrong.
No error messages, no PR Decoration, no PRs showing up in SonarCloud.
I’m following these directions:
SonarCloud application is installed on Github.
The builds are getting analyzed and results show up in SonarCloud.
When I go to Administration>Branches and Pull Requests I only see our iteration branch. No pull requests.
Sonar parameter setup:
|sonar.pullrequest.key |1010 |
Getting the pullrequest.key into TeamCity was a PITA and I still can’t figure out how to get the pullrequest.base correct without manually setting it. Our process uses master branch as the latest release branch, we dev on an iter-* branch, and the pull requests come in on “pull/1234”.
For the pullrequest.key for anyone else using TeamCity we added another build step that uses PowerShell to set the parameter
I haven’t had any better luck running the build manually.