Not able to decorate pull requests on github

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    The sonar version Sonar version : 9.2.4
    Plugin version : 1.10.0
    I am using the sonarqube community branch plugin https://github.com/mc1arke/sonarqube-community-branch-plugin
    sonnar scanner : 4.6.2.2472
  • what are you trying to achieve

I am trying to decoarte the pull requests on github.com for a sample app.

  • what have you tried so far to achieve this

I have followed the steps as described in the github integration docs
Created the app and installed the app for the repo that i want to decorate. the configuration is valida as can be seen in below screen shot

But the pull requests fail to appear in sonar or github

In the pull requests tab the pull requests are not listed?

also when the scanner runs through when i try to access the url i get this 404 error

below is the sonar-project.properties file i am trying

sonar.host.url=<url>
sonar.projectKey=multibranch-sample-app
sonar.login=
sonar.projectName=multibranch-sample-app
sonar.projectVersion=1.0
sonar.pullrequest.provider=github
sonar.pullrequest.github.repository=shashankpai/multibranch-sample-app
sonar.sources=./src
sonar.exclusions=.github/**/* , .vscode/**/* , bin/**/* , docs/**/* , etc/**/* , include/**/* ,
lib/**/* , repository/**/*, share/**/* , .dockerignore , .gitignore , Dockerfile , README.md ,
requirements.txt , sonar-project.properties , assets/**/*
sonar.java.binaries=.
#sonar.branch.name=feature-sonar
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
sonar.pullrequest.key=10
sonar.pullrequest.branch=feature-sonar
sonar.pullrequest.base=main
sonar.analysis.mode=publish
sonar.verbose=true

ce.log (8.6 KB)

errors capture in above ce.log file .

Not able to understand what i am missing .

Can anyone please help here ? Is there any thing needed from my end ? @Colin can you please assist or guide? Thanks

Hi,

Welcome to the community!

The community branch plugin is not supported in this community. Hopefully you can understand why. You’ll need to ask for help in that plugin’s community.

Also, please don’t invoke (@) people not already involved in your thread.

 
Ann

Thank you , Apologies for mentioning out people here, henceforth will keep this in mind. I didnt get help in that community so approached here. I managed to solve the issue and the decoration is working fine .