- ALM Used: GitHub
- CI System Used: Jenkins
- Scanner command used:
mvn sonar:sonar
- Languages used: Java
- Sonar Project: https://sonarcloud.io/project/overview?id=oracle_weblogic-kubernetes-operator
- Error observed: All webhook invocations are failing with Server Unreachable
We are using SonarCloud and have been trying to get the Jenkinsfile waitForQualityGate()
step to work. It works perfectly if the analysis is complete by the time waitForQualityGate()
is called. If not, the call ends up blocking until our configured timeout. When I look at the webhook configuration (https://build.weblogick8s.org:8443/sonarqube-webhook/ with a secret) in the SonarCloud project, it is all configured properly but I see that all previous invocations are marked as failed with Server Unreachable.
Our webhook configured in the GitHub project (https://build.weblogick8s.org:8443/github-webhook/) is working perfectly. If I invoke the https://build.weblogick8s.org:8443/sonarqube-webhook/ from curl, it correctly reports an invalid secret but never fails to connect.
At this point, I have no other choice but to assume that this is a SonarCloud bug since there is no way for me to debug this.