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?
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:
www.coachdevops.com/2023/02/h...
15 май 2024