Github Pull Request decoration not working with the plugin

Hi, I am trying to setup the pull request for internal repositories with the GithubPlugin, and can;t make it work, turning the debug mode on maven i can see the following error:

[DEBUG] 18:38:03.190 ‘GitHub Pull Request Issue Publisher’ skipped because one of the required properties is missing.

I have invoking maven sonar plugin with:

mvn sonar:sonar -Dsonar.organization=ORG_NAME -Dsonar.login=TOKEN -Dsonar.pullrequest.base=master -Dsonar.pullrequest.branch=BRANCH_NAME -Dsonar.pullrequest.key=PULL_REQUEST_ID -Dsonar.pullrequest.provider=GitHub -Dsonar.pullrequest.github.repository=ORG_REPO_NAME

I have tried to also setup in the sonarcloud ui, all the required field, even if the doc say they are not necessary when using the plugin:


My account is still in trial mode, would that be the reason? Any idea where to look to have that integration working? What would be these properties maven plugin is complaining about?



Is this related to:

? To help avoid parallel conversations. I guess it’s worth double-checking behaviour after the reply you got in that other thread.

Negative, trial period is fully-featured, no specific restrictions.

Hi Nicolas,

Yes sorry it was the same issue, actually it didnt work with the same command there, but it worked after I tried a different Token, I just can’t understand why I do need a token if I have installed the Github app, I understood from the documentation that installing the plugin would be enough.

Maybe a way to read logs, and debug these kind of issues would make easier for users.

Anyways it seems to be working now.


1 Like