Skip to content

How to stop the script if quality gate in SonarQube fails #3014

Answered by pascalberger
umairjadoon asked this question in Q&A
Discussion options

You must be logged in to vote

Cake itself doesn't doesn't ship with support for SonarQube. There's a Cake.SonarResults 3rd party addin which seems to provide an alias to break a build based on SonarQube quality gate. If you don't want to use a 3rd party addin you can make the call to the SonarQube API directly. See SonarQube documentation for details how to do this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pascalberger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants