Creating a CI pipeline for SonarQube in Azure Pipelines

To illustrate the integration of a SonarQube analysis into a CI pipeline, we will use Azure Pipelines, which we looked at in detail in Chapter 6, Continuous Integration and Continuous Delivery.

The application that we'll use as an example in this section has been developed in Node.js, which is a simple calculator that contains some methods, including unit test methods.

Note that the purpose of this section is not to discuss the application code, but rather the pipeline. You can access the application source code at https://github.com/PacktPublishing/Learning_DevOps/tree/master/CHAP10/AppDemo.

To use SonarQube in Azure Pipelines, we must install the SonarQube extension in our Azure DevOps ...

Get Learning DevOps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.