Is there a way to break the sonarqube analysis with jenkins jobs.
I went through what is mentioned here Breaking the SonarQube Analysis with Jenkins Pipelines and could set up a pipeline and see that it is working fine.
Now on a org level, i want to find out if the same thing is possible via jenkins jobs and not through pipeline.
Is there a way to do this?
We recommend using pipelines, but adding
sonar.qualitygate.wait=true to the SonarScanner step of a classic Jenkins job will also fail the job on Quality Gate failure.
Thank you for responding.
That did not work,
this is my settings in sonarscanner “analysis properties” in my jenkins jobs.
In sonar, the project says failed, but my jenkins job is passing.
I want my jenkins job to fail as well