You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a sonarscan in the CI system, sonarqube server-side processing shows success; branches and PRs show up in the project, but PR decoration both on the Checks tab and the Conversation tab do not show up on Github Enterprise.
To Reproduce
Steps to reproduce the behavior:
bring up new instance of sonarqube,
configure ALM integration at both server and project level
Perform project scan for branch
Perform project scan for PR
Expected behavior
PR decoration gets posted to the Github UI, both on the Checks tab and a summary on the Conversation tab
Screenshots
Software Versions
SonarQube Version: 8.5.1.38104
Plugin Version: 1.6.0
Github Enterprise 3.0.0.rc1
Additional context
My prime suspect is Github Enterprise because it is the newest component in the mix, and it is an rc1 release. Generally GHE lags behind github.com slightly so code, apis etc are already well tested - but there are no guarantees - it's possible something in GH API changed in v3.0
I turned on debug logging on sonarqube ce and the logs seem to show successful posting of PR decoration as far as I can tell - all HTTP 2XX responses. I am now trying to figure out how I can debug on the GHE end.
It seems that this don't work with GitHub Actions. When I run the sonar analyse from command line on my local machine, the decoration will be published to the Pull Request. With GitHub Actions pipeline, it doesn't.
I am using Actions. I should probably add that to the top post.
Actions adds some of its own checks to the PR - and performs the sonarscan action. Does the Check that this plugin creates on the PR somehow clash with the existing Actions generated Checks?
And there's a separate logged issue specifically for the Actions case, with a workaround listed. Trying that. #104 (comment)
... and that works. Well I see the decoration on the Checks tab.
I was expecting to see a comment posted on the Conversation tab as well and I don't. I'm not certain this plugin supports that, looking around a bit more.
This issue is resolved, I'm closing it. I will try to PR this Github Actions workaround to docs.
Describe the bug
After a sonarscan in the CI system, sonarqube server-side processing shows success; branches and PRs show up in the project, but PR decoration both on the Checks tab and the Conversation tab do not show up on Github Enterprise.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
PR decoration gets posted to the Github UI, both on the Checks tab and a summary on the Conversation tab
Screenshots
Software Versions
Additional context
My prime suspect is Github Enterprise because it is the newest component in the mix, and it is an rc1 release. Generally GHE lags behind github.com slightly so code, apis etc are already well tested - but there are no guarantees - it's possible something in GH API changed in v3.0
I turned on debug logging on sonarqube ce and the logs seem to show successful posting of PR decoration as far as I can tell - all HTTP 2XX responses. I am now trying to figure out how I can debug on the GHE end.
debug logs:
The text was updated successfully, but these errors were encountered: