Automate your code quality by integrating SonarQube and Jenkins with the SonarQube Scanner Jenkins plugin!
SonarQube is an excellent tool for measuring code quality, using static analysis to find code smells, bugs, vulnerabilities, and poor test coverage. Rather than manually analysing the reports, why not automate the process by integrating SonarQube with your Jenkins continuous integration pipeline? This way, you can configure a quality gate based on your own requirements, ensuring bad code always fails the build.
You’ll learn exactly how to do that in this video, through a full worked example where we add SonarQube analysis and SonarQube quality gate stages to a Jenkins pipeline.
This video contains:
▶️Introduction 0:00
▶️Overview 0:18
▶️SonarQube & Jenkins 0:59
▶️Full worked example 2:40
▶️Running the pipelines 13:30
Here are some useful resources:
✅Here's the accompanying article outlining all the steps from this video [ Ссылка ]
✅This GitHub repository has everything required to get the example from the video up and running fast. Jenkins in setup through configuration-as-code. Just need to follow the steps to setup SonarQube from the video [ Ссылка ]
✅Here's the docs on the SonarQube Scanner Jenkins plugin
Ещё видео!