Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6554

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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • cobertura-plugin
    • None
    • Linux

      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.

          [JENKINS-6554] The plugin fails a build if no coverage.xml is found

          dtriphaus added a comment -

          This changes the Job Configuration Page so you can choose if the build should fail if no coverage.xml is generated. The default ist "false".

          dtriphaus added a comment - This changes the Job Configuration Page so you can choose if the build should fail if no coverage.xml is generated. The default ist "false".

          dtriphaus added a comment -

          Hm long time gone by... Is there any chance to get this integrated in the next Version (if there will be any?)? Is this plugin still maintained?

          dtriphaus added a comment - Hm long time gone by... Is there any chance to get this integrated in the next Version (if there will be any?)? Is this plugin still maintained?

            stephenconnolly Stephen Connolly
            dtriphaus dtriphaus
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: