Failing Quality gate in gradle project

  • I’m using sonar qube 7.5 and sonar scanner 2.8.
  • when I’m trying with quality gate after sonarqube analysis it is failing. Sonarqube analysis went success but the quality gate stage is keep on loading almost 3 hrs not updating anything.
  • I used like this
    stage(‘Quality Gate’) {
    steps {
    // timeout(time: 2, unit: ‘MINUTES’) {
    waitForQualityGate abortPipeline: true

Thanks for help in advance


Are we talking about gradle analysis via Jenkins? If so, you might want to take a look at the example pipeline segment for that.