kordamp / kordamp-gradle-plugins

A collection of Gradle plugins
https://kordamp.org/kordamp-gradle-plugins/
Apache License 2.0
138 stars 25 forks source link

[Sonar] Working example with SonarCloud #470

Open musketyr opened 3 years ago

musketyr commented 3 years ago

Hi, I have issues getting the SonarCloud integration working. see the failing PR here

https://github.com/agorapulse/micronaut-aws-sdk/pull/80

ursjoss commented 3 years ago

You can find a working example here: https://github.com/ursjoss/KRis

musketyr commented 3 years ago

Thank you for sharing. I still can't make it work. I can't really see much difference other than that your build file is in Kotlin.

ursjoss commented 3 years ago

Have you tried not specifying the sonar password at all (instead of setting it blank)?

musketyr commented 3 years ago

yes, it was the first option

ursjoss commented 3 years ago

Organization and project key are matching the setup in sonarcloud?

musketyr commented 3 years ago

They have been copy-pasted from SonarCloud

Snímek obrazovky 2021-05-13 v 15 34 03

ursjoss commented 3 years ago

@musketyr Sorry, this is most likely a stupid question, but just to be sure: Did you actually add the sonar token to your github secrets?

musketyr commented 3 years ago

No worries. I'm used to also ask a lot of stupid questions as they many times lead to a good results. But not this time.

I've double checked on Friday and rather set it again.

AA694FB1-FD33-43F7-B60A-1CCD90EAA645