Tuesday, April 12, 2011

Cobertura and Hudson..

Two recent commits to fix some minor issues with the Cobertura plugin for Hudson:

This first patch will fix the issue with Python's coverage utility outputting the packages in non-alphabetical order. A more detailed explanation is here:

http://hustoknow.blogspot.com/2011/03/coveragepy-xml-outputs-in-random-order.html

The GitHub fix is here:
https://github.com/rogerhu/cobertura-plugin/commit/c34a72fff53eae398dfd4bc035df6b488a04aef0


One undocumented feature in Cobertura is that you can have a cobertura/ directory inside your jobs workspace that links to the source code. However, without the <pre> tags, the source code just appears as one line:

https://github.com/rogerhu/cobertura-plugin/commit/33bf5c44357d499533842a0cc14764990f576534

Next up? Putting the coverage HTML output there in lieu of the source code..

The documentation to compile Hudson/Jenkins plugins from a previous dev environment isn't clear, but you basically have to add a Jenkins repo in your ~/m2/settings.xml:

http://hustoknow.blogspot.com/2011/04/hudson-becomes-jenkins-compling-plugins.html

No comments:

Post a Comment