Closed nibsi closed 3 years ago
Would this be fixed on the sonarcloud site or in the source?
@aquino-a My guess is that it would get fixed in both the project configuration on SonarCloud and the GitHub repository settings. I don't think any sources are involved.
I think I'm the only one who has admin access to both SonarCloud and the GitHub repository, so I will have to make the changes myself, but any insights from people who have gotten this to work before are very much appreciated.
At least in the past 6 months this feature wasn't supported for Java in particular, meaning PR decoration along with merge blocking if quality gates do not pass. So the PR gets decorated but it shows(-ed) 100% on all quality measures.
I'm not aware if that has been actually fixed.
@liutaurasvilda Thanks. I suppose that means we'll have to wait until SonarCloud fixes this and be extra careful with our reviews in the mean time?
@nibsi I'll double check if this hasn't been fixed in the recent times in order not to mislead you, but that was the problem I faced at work 6 or so months back.
Hi there. Thomas here, Product Marketing Manager @SonarCloud. Two things I can say:
@thomas-olivier-sonarsource thank you very much. I will do that.
@thomas-olivier-sonarsource great news. Thank you for clarifying it.
Here's the question I asked at SonarSource:
https://community.sonarsource.com/t/checks-tab-remains-empty-in-github-pull-request/40319
Pull requests are automatically built by Travis CI and then analyzed by SonarQube. The results are published on SonarCloud: https://sonarcloud.io/dashboard?id=com.coderanch%3Ablackjack-parent
All of this works nicely, but SonarCloud is supposed to update the Checks tab in the pull request, preventing the PR from merging if the code doesn't pass the quality gate. Sadly, it doesn't seem to work and the Checks tab is always empty.
I added SonarQube analysis back in 2018 and since then SonarCloud has gone through a bunch of changes. Configuring a new project on SonarCloud might fix this issue, but I would really like to keep using the current one if possible.