Must-share information (formatted with Markdown):
Which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension):
What are you trying to achieve
I’m trying to implement the waitForQualityGate() stage in my Jenkins pipelines, and this stage is timing out as the quality gate status (per Jenkins) is stuck in the PENDING status. This is incorrect however, and is seemingly a result of the webhook failing to receive a POST from our SonarQube instance.
Response: Server Unreachable Duration: 116ms
What have you tried so far to achieve this
- Verified that the firewall is not a blocker. I can successfully telnet from our SonarQube server to our Jenkins master over port 443.
- Attempted to use HTTP basic authentication in the webhook URL configuration.
I’d like to get a better understanding of why the server is being shown as unreachable. I checked out the sonar logs and I don’t see any sort of 400/500 errors being returned back to Sonar, but then again I don’t see anything at all related to the failed webhook POST in the logs.
How could I actually view the HTTP response I’m getting? The current level of logging and errors shown in the UI are too generic and unhelpful.