End-to-end CI/CD pipeline Setup with Azure DevOps for Mobile App: SonarCloud integration—Part 3.
In this article, we shall integrate a sonar cloud job along with a build breaker into the pipeline to check the quality gate result. Break the pipeline in case the quality gate fails and stop the build and release processes. It will save execution time by around 30 minutes on iOS and 20 minutes on Android.
Prerequisite
You must have already gone through PART1 and PART2 of this series. Along with Sonar Cloud with GitHub.
- Select any existing basic pipeline for iOS or Android and add sonar cloud jobs as mentioned below in the screenshot
2. As we have already learned in the previous article about sonar cloud integration on GitHub and created a pipeline for the same, we will do exactly the same configuration. Apart from that, we will add a build breaker job to our pipeline. Do the configuration as per the below screenshot.
That’s it.