Getting 403 status code when webhook is triggered from sonarcloud to jenkins

  • ALM used (GitHub)
  • CI system used (Jenkins)
  • Scanner command used when applicable (private details masked)
  • Languages of the repository (Nodejs/html)
  • Only if the SonarCloud project is public, the URL SonarCloud

Last delivery of Jenkins_Pipeline

Response: 403

Duration: 188ms

Hey there.

Is your Jenkins server publicly accessible over the internet? If it is, have you configured authentication in the wehbook URL?

See this documentation.

Hello Colin

Thank you for the response and reference to documentation.

I made a mistake while configuring webhook url in SonarCloud. I was able to fix it by appending /sonarqube-webhook/ in the URL.

Thanks!

1 Like