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

Cannot plublish cobertura reports if org.codehaus.mojo:cobertura-maven-plugin is not invoked

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cobertura-plugin
    • Labels:
      None
    • Environment:
      Jenkins cobertura plugin 1.4, 1.5
      grails and grails maven plugin
    • Similar Issues:

      Description

      I'm building a project using grails and grails-maven-plugin.
      Since version 1.4 of the plugin, the cobertura report is not published because the cobertura-maven-plugin is not invoked:

      ...
      Cobertura: Loaded information on 293 classes.
      Cobertura: Saved information on 293 classes.
      Skipping Cobertura coverage report as mojo did not run.
      ...
      

      Looking at the sources of the plugin, it's mandatory to execute the cobertura-maven-plugin to publish reports (and that's not the way grails work!).

      I can't see why this test is done (as we need to provide the path of the report). Would it be possible to remove/adapt this check?

      As a workaround: I'm using version 1.3 of the plugin.

      thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                drautureau drautureau
              • Votes:
                4 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: