[ https://issues.jenkins-ci.org/browse/JENKINS-6554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sogabe resolved JENKINS-6554. ----------------------------- Resolution: Duplicate > The plugin fails a build if no coverage.xml is found > ---------------------------------------------------- > > Key: JENKINS-6554 > URL: https://issues.jenkins-ci.org/browse/JENKINS-6554 > Project: Jenkins > Issue Type: Bug > Components: cobertura > Affects Versions: current > Environment: Linux > Reporter: dtriphaus > Assignee: stephenconnolly > Attachments: cobertura.patch > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira