We provided an option to set a secret for your webhook, that way you can verify that the webhook call originated from SonarCloud. Iām afraid there currently is no other alternative.
regardless of the auth support I cant open my jenkins server to the world
I can just keep calling waitForQualityGate() or I can make rest call myself
waitForQualityGate checks the current status of the task and then continues to wait for a webhook. so I have to force it to time out and then call it again. Is there any argument I can pass waitForQualityGate so it just checks the status and exits? I can do my own polling more easily then
Not sure if this topic is still actual for somebody, but for those who will be searching for ability how to configure jenkins pipeline without configuring webhook on SonarQube itself here is the workaround:
Good to know, thanks for the reference, but I assume that some projects could still use outdated sonarqube versions, so they will still have additional options to choose.