Azure DevOps pipeline is not failing when sonar cloud step failed

Azure pipeline is not failing while sonar cloud step failed;
Its not functioning as stop gate. Please help

Hi,

Yes, this is expected.

You can use one of the community plugin that does what you want : https://marketplace.visualstudio.com/items?itemName=SimondeLang.sonarcloud-buildbreaker

Mickaël