Receive update whenever a Sonar scan is ready

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube - v8.1)
  • what are you trying to achieve - I’m trying to get the scan results for a specific sonar scan when it’s finished. So, I need a way to find when a specific sonar scan has finished. In that sense I imagine there would be an API that upon querying would return all scan tasks if there are some running ones, and tasks that have finished. (I could not find an api like that in the webapp documentation).
  • what have you tried so far to achieve this - Currently I’ve set a 1hr timeout to fetch that information after a specific scan has finished, but that does not work for me anymore.

George,

Webhooks are a good option (payload sent to a specific URL after every analysis completes server-side), if simple e-mail notifications aren’t enough. :smiley:

1 Like

Thanks for the lightning fast answer!
I think that webhooks might do the trick, as I’ll be integrating those results with another system.

1 Like