Trying to get .Net Metrics Computed and Displayed with Jenkins
I'm helping a .Net team stand up Jenkins as their CI server. The build steps we have so far are building a solution and running fxCop against the debug build. Using the Jenkins Violations Plugin, which supports fxCop, we can display a nice trend chart and have hot links to drill down and see the violations in context.
Unfortunately, the Violations Plugin doesn't support the xml output, and the PowerTool doesn't have an option to output to HTML. Fortunately, though, Skinner also wrote a post that provides an xslt and a .css filethat will turn the results into HTML. So my next step was to make a build step that runs a command-line tool to apply the transform.I couldn’t figure out or find enough documentation on msxsl.exe, but I found this CodeProject project and it works.(Anyhow, it would only take a few lines to write your own in C# because you can use calls from MSXML.) Now I need to figure out how to use the HTML report in Jenkins. I'll investigate the Jenkins HTML Publisher Plugin.