How to Automate Code Scan with SonarQube from Azure DevOps YAML Pipeline | SonarQube Azure DevOps

Опубликовано: 16 Май 2024
на канале: DevOps Coach
2,922
47

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...


Смотрите видео How to Automate Code Scan with SonarQube from Azure DevOps YAML Pipeline | SonarQube Azure DevOps онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь DevOps Coach 16 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,922 раз и оно понравилось 47 людям.