https://www.coachdevops.com/2024/05/h...
Pre-requisites:
Azure DevOps Account
Make sure SonarQube is up and running
Make sure Java Project is setup, click here for Sample Java Code
Service connection to connect to GitHub from Azure DevOps using GiHub's PAT(token)
Service connection to integrate with SonarQube from Azure DevOps
Make sure you install SonarQube plug-in/Add-on in Azure DevOps using below URL:
How to add SonarQube plug-in in Azure DevOps?
https://marketplace.visualstudio.com/...
Create Token in SonarQube to authenticate with Azure DevOps
You need to login to SonarQube using your admin password. admin/admin123 and click on Admin on your top side.
Create Service Connections in Azure DevOps
Login to Azure DevOps. Select your project dashboard.
Create a YAML Pipeline in Azure DevOps
Run the pipeline
check results in SonarQube
Azure DevOps Classic pipeline Integration with SonarQube:
https://www.coachdevops.com/2023/02/h...
Watch video How to Automate Code Scan with SonarQube from Azure DevOps YAML Pipeline | SonarQube Azure DevOps online without registration, duration hours minute second in high quality. This video was added by user DevOps Coach 16 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,922 once and liked it 47 people.