Scan .sql files in azure devops repos by using sonarqube through yaml file

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) latest version installed
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve trying to scan .sql files in azure repos by using sonarqube through yaml file
  • what have you tried so far to achieve this

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

i have 3 .sql files which contain t-sql code in my repos in azure devops and i want to scan these using sonarqube ,for this purpose i want to use yaml file , i dont want to use dacpac,and i have integrated sonarqube to azure devops as well , present i need to build the yaml file to scan T sql code in .sql files in repos

Hi,

Welcome to the community!

Can you share what version and edition of SonarQube you’re using? You’ll find the information in the page footer.

I suppose you mean you’ve updated your build pipeline to include analysis?

 
Thx,
Ann