Issue Details (XML | Word | Printable)

Key: HUDSON-6554
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: stephenconnolly
Reporter: dtriphaus
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Hudson

The plugin fails a build if no coverage.xml is found

Created: 18/May/10 06:04 AM   Updated: 06/Jul/10 05:44 AM
Return to search
Component/s: cobertura
Affects Version/s: current
Fix Version/s: None

File Attachments: 1. Text File cobertura.patch (3 kB)

Environment: Linux


 Description  « Hide

The plugin fails a build if no coverage.xml is created. That's pretty annoying because i do not always create coverage reports, just in some cases by profile. So my builds run, only the coverage.xml file does not exist if cobertura did not run. Then the hudson-plugin tries to find the coverage.xml (what is not possible) and marks my build as failed. For now i have to avoid this by disabling the checkbox "publish cobertura reports" temporary for those builds i do not want to run cobertura. Maybe the plugin shouldn't mark builds as failed when there is no coverage.xml file or there should be even a setting for that, because always disabling the setting or always running cobertura cannot be a solution.



Sort Order: Ascending order - Click to sort in descending order
dtriphaus made changes - 20/May/10 04:40 AM
Field Original Value New Value
Attachment cobertura.patch [ 19437 ]