Quality Gate Stage is in IN_PROGRESS state

Hello All,

with this script,

stage('Quality Gate Stage') {
          steps {
            script {
                waitForQualityGate abortPipeline: true, credentialsId: 'sonar-auth-token'

the quality gate passed in the last build.

this is my sonarserver config in jenkins.

it randomly get success once and failed or gets stuck the other time.

This is what the log looks like:

Checking status of SonarQube task ‘AYcctArQfmxt98zo82oR’ on server ‘sonarserver’ SonarQube task ‘AYcctArQfmxt98zo82oR’ status is ‘IN_PROGRESS’

Aborted by Bikash Yadav [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Pushing artifact to Nexus) Stage “Pushing artifact to Nexus” skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: ABORTED

Any insights…why it is behaving like this?

Hey there.

Have you configured a Webhook back to your Jenkins instance as mentioned in the docs?


  • Configure a webhook in your SonarQube server pointing to <your Jenkins instance>/sonarqube-webhook/