so what you’re actually saying, that my webhook is not really working? what’s wrong with below configuration:
name: jenkins_care
URL: http://XXXXX:YYYY/sonarqube-webhook/
Adding some more details:
Version: 6.7.1 (build 35068)
I’m not using Sonarqube stages within parallel { … }
Trigger command in bitbucket file:
stage('Sonar Quality Gate') {
sleep 180
timeout(time: 25, unit: 'MINUTES') {
def qg = waitForQualityGate()
if (!(qg.status == 'OK' || qg.status == 'WARN')) {
error "Pipeline aborted due to quality gate failure: ${qg.status}"
}
}
}