Our organization uses Github. We have a private repo.
I started integrating Sonar. We are using SonarCloud.io.
I wanted plug Sonar Github plugin into our Android project. We use Gradle. I added Sonar plugin to Gradle.
1. Created new Github user for review comments
2. Created Personal Access token for that user
3. Trying to run the cradle command:
./gradlew sonarqube \
-Dsonar.issuesReport.console.enable=true \
-Dsonar.analysis.mode=preview \
-Dsonar.github.pullRequest=458 \
-Dsonar.github.repository=fubotv/player_android \
-Dsonar.github.oauth=bc86985b7c20979****d7728e2f8313d3**** \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=4514201c8c79bc2794849fec1369b25ba9***
Getting error
Before that I ran ordinary analyze and SonarQube gradle scrip sent data to
sonarcloud.io. I can see my project in SonarCloud.io.
Attaching screenshot of Sonarcloud project with key "player_android:app"
![](https://lh3.googleusercontent.com/-dlzZfZ5I1eM/Wnfzi_Cku5I/AAAAAAAAQb8/GnRxa-zqW9AWKQ4YL56G99_SD09GJYQFwCLcBGAs/s320/Screen%2BShot%2B2018-02-05%2Bat%2B1.01.04%2BAM.png)