script {
withSonarQubeEnv('SonarQube') {
sh "../../../sonar-scanner-2.9.0.670/bin/sonar-scanner"
}
def qualitygate = waitForQualityGate()
if (qualitygate.status != "OK") {
error "Pipeline aborted due to quality gate coverage failure: ${qualitygate.status}"
}
}
Checking status of SonarQube task 'AVsfmCBrxGDonPx3ACVN' on server 'SonarQube' SonarQube task 'AVsfmCBrxGDonPx3ACVN' status is 'PENDING'
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/oJ-aqaTJgWg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/8102e774-e7eb-4239-8d33-6864e3247bf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/oJ-aqaTJgWg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/1c69c753-7f14-46eb-a182-656950a9ef28%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
> Do you have a trailing "slash" in the URL as mentioned in the documentation?
The URL is: http://***:9000/sonarqubeSo, no trailing slash...
> Is the Jenkins URL reachable from the SonarQube server?
It has to be, otherwise nothing would've worked no?
> Can you have a look at Jenkins and SonarQube server logs. On Jenkins side you should see a message when a payload is received, and on SonarQube side, an error may be logged if the webhook can't reach the destination.
The next time it happens...
In SonarQube > Administration > Webhooks I do have a trailing slash:http://****/sonarqube-webhook/How can I verify the webhook is working properly?
--Idan Adar