On Fri, 2019-02-01 at 16:15 +0100, Robert Munteanu wrote:
> I have followed the documentation from [1] and configured our job to
> use the required parameters for pull requests:
> 
>   mvn -U clean verify sonar:sonar
> -Dsonar.pullrequest.branch=feature/SLING-8262
> -Dsonar.pullrequest.key=25 -Dsonar.pullrequest.base=master
> -Dsonar.pullrequest.provider=github -Dsonar.verbose=true
> -Dsonar.pullrequest.github.repository=apache/sling-whiteboard
> 
> as seen in [2].

I have also tried to configure the 'old-style' analysis as documented
at [3] and [4]. Getting the changed issues reported on the console
works but the connection to GitHub does not.

The documentation at [3] states that a requirement is for the SonarQube
GitHub plugin to be installed on the server. Is that the case?

Thanks,

Robert

> 
> [1]: https://docs.sonarqube.org/latest/analysis/pull-request/
> [2]: 
> https://builds.apache.org/job/Sling/job/sling-whiteboard/view/change-requests/job/PR-25/9/console
[3]: 
https://stackoverflow.com/questions/32047585/jenkins-sonar-github-integration
[4]: https://docs.sonarqube.org/display/PLUG/GitHub+Plugin

Reply via email to