To get even more info out of it and get some kind of a deeper overview on the status of the package right after a build without any manual interaction, I developed a plugin to be able to use the Codescanner tool within hudson.
CodeScanner is a static source code analysis tool for Symbian programs written in C++. Static analysis tools delve deep into code, exploring line by line for the sources of defects. CodeScanner is specifically for use with Symbian code. As well as identifying C++ coding convention deviations, CodeScanner identifies incorrect descriptor usage, cleanup stack errors, UID clashes, and other subtle problems that are hard to track down.
There are several exciting features available in the plugin:
- Build summary showing the new and fixed warnings of a build
- Several trend reports showing the number of warnings per build
- Overview of the found warnings per module, package, category, or type
- Detail reports of the found warnings optionally filtered by severity (or new and fixed)
- Short messages is read from the report file
- Colored HTML display of the corresponding source file and warning lines:
- Direct link to the warning line
- Highlighting of single lines as well as line ranges
- Highlighting of multiple line ranges per warning (different color for primary range)
- Tool tip describing the warning message
- Failure threshold to mark a build as unstable
- Configurable project health support
For more information, installation instructions and how to use the plugin, have a look at the wiki page: CodeScanner Plugin
A huge thank you to Ulrich Hafner, author of several similar static analysis hudson plugins. The codescanner plugin uses his analysis-core classes as a base, this is were most of the magic happens. Using his work, this plugin was easy and fast to write.
Hi,
AntwortenLöschenwas playing around with the codescanner plugin (v 0.10) and for some reason it won't parse the output file even though it gets generated in the given directory:
[CODESCANNER] Using precreated result file from:
[CODESCANNER] c:/hudson/workspace/signalling_demo_master\output.txt
[CODESCANNER] IOException!
Path problem? (slash vs backslash) Or some other known issue?
Other than that, thanks for providing a nice plugin!
a lot of interesting features of the Hudson server, but not a few people who abuse the wiki facility there.
AntwortenLöschen