Analyzing Visual Studio Code in Jenkins

In VS2013, you can run the native code compiler with a flag /analyze

that will generate XML files containing parsing results. This will be interpreted by the user interface and shown to the developer.

Is there a solution on how to integrate it into Jenkins framework or some tool that can read XML files like this vc.nativecodeanalysis.all.xml

and render it as a web page?

+3


source to share


1 answer


Jenkins is essentially a toolbar that redirects tasks to other tools to "do your thing."

With .NET builds, your only option is a freestyle build with heavy use of Windows Batch command line build steps or MSBuild steps. Jenkins knows the path to MSBuild, which you tell in "Managing Jenkins> System Configuration"

After that, it will pass MSbuild to MSbuild using the parameters you pass. msgstr "



Jenkins can use JUnit test results and many other tools are written to convert test results to JUnit for Jenkins use. The mountain was delivered to Jenkins, not the other way around.

If MSBuild doesn't generate the graph, unfortunately Jenkins won't be able to.

You can follow the static analysis plugin over time to see if it adds support for this.

0


source







All Articles