SonarCloud analysis using Jenkins


(Chris Theodore) #1

Is there a way to fail the build in Jenkins if Quality Gate has Failed on SonarCloud?

I am using the Sonar Maven Properties in Jenkins for the build.

(Fabrice Bellingard) #2

I guess the following documentation might help you: Pause pipeline until quality gate is computed

It’s meant for SonarQube, but it should work fine for SonarCloud too.

(Chris Theodore) #3


Just confirming that this is working for SonarCloud as well. Thank for your response.