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

Cobertura plugin should autoconfigure for Maven projects

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cobertura-plugin
    • None

      Try this:

      • Add a Maven-based project to Hudson.
      • Make sure you have the Cobertura plugin installed.
      • Go to the job configuration page for your project: http://hudson/job/my-project/configure
      • Check the "Publish Cobertura Coverage Report" box.

      Current result:

      • For Cobertura/Hudson to find my coverage data I have to fill in "**/target/site/cobertura/coverage.xml" in "Cobertura xml report pattern".

      Expected result:

      • Checking the box should have been enough for the plugin to locate my data, just like it is with the FindBugs plugin.
      • If I wanted the plugin to look somewhere else for the coverage data, there should be an advanced option for that.

          [JENKINS-6684] Cobertura plugin should autoconfigure for Maven projects

          walles added a comment -

          See also related issue JENKINS-3862.

          walles added a comment - See also related issue JENKINS-3862 .

          jieryn added a comment -

          Bump!

          This is an important issue.. Maven projects shouldn't need to be manually configured like this.

          jieryn added a comment - Bump! This is an important issue.. Maven projects shouldn't need to be manually configured like this.

          I've created a pull request with a fix for this issue:
          https://github.com/jenkinsci/cobertura-plugin/pull/35

          Dennis Lundberg added a comment - I've created a pull request with a fix for this issue: https://github.com/jenkinsci/cobertura-plugin/pull/35

          It would be great if someone could integrate my pull request and push a release out.

          Dennis Lundberg added a comment - It would be great if someone could integrate my pull request and push a release out.

          Last two releases (separated by over a year) were by olivergondza so looks like the maintainer

          Stephen Connolly added a comment - Last two releases (separated by over a year) were by olivergondza so looks like the maintainer

            Unassigned Unassigned
            walles walles
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: