SSDT Database projects Code Analysis integration with SonarQube
<p>I am currently in the process of writing code analysis rules for SSDT database projects for our company. We currently have SonarQube implemented for our C# projects, and our development director wanted me to integrate the SSDT Db project code analysis into SonarQube. </p>

<p>I am pretty new to SonarQube and have been doing a lot of googling, and I have found out how to run the SonarQube scanner using MSBuild which seems to be the right direction to head in. However, I have been unable to figure out how to get the scanner to pick up the results of my analysis.</p>

<p>You can test this out with the built in MSFT rules by adding this argument to your msbuild command line: /p:RunSqlCodeAnalysis=true. You can also optionally control which rules to run using /p:SqlCodeAnalysisRules=.</p>

<p>The question: How do I get SonarQube to generate a report from the code analysis results? </p>