1
Good morning, everyone, I am setting up an integration server using Jenkins + Maven + Sonar Quebe, but I have the following scenario: 1 - If junit tests fail, Maven stops deploying the application. Blz is the expected result. 2 - If sonar points problems in my code (bug) the Maven does not stop and deploy normally.
My question is whether there is a way to make Maven not deploy when sonar indicates a bug or even if possible a maximum number of bugs
Thanks in advance.
Thanks buddy, it worked perfectly using the Quality Gate Plugin
– Emmanuel Thadeu Souza Trindade