Get Sonar CLI scan result URL as output

Is there an option to return the sonar url after
ANALYSIS SUCCESSFUL, you can browse https://somesonar.com

or do I need to parse the whole output then grep and format?
I have it already in place like that but would like to know if there is a simpler option, where i don’t have to parse the output

Hi,

Yes and no. You can’t get it directly from analysis, but it is part of the webhook payload.

 
HTH,
Ann

1 Like

Oh my, I completely forgot about the webhook. That will make it even better to send directly from sonarqube, instead of the CI in case there is a communication problem. Thanks for the idea.

Now to see how to add webhook on 264 projects.

Hi,

You can do it at the global level.

 
:grinning_face_with_smiling_eyes:
Ann

Great! We are not the only tenant on the sonarqube ee

I will check if we can do it per portfolio… that is how we are separating tenants. Should work😀

Ehm… no. :frowning: