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

Coverage report differences between jacoco report and jenkins plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • jacoco-plugin
    • None

      Recently upgraded to use android-maven-plugin 3.9.0-rc.3, and the jacoco plugin is no longer reporting the correct code coverage. If I run the maven jacoco report stage, the maven plugin will report the correct code coverage. The jacoco.exec file is created, and as far as I can tell is generating the right coverage as the site/jacoco report is correct.

      I've tried the lastest jenkins plugin as well a the latest jacoco maven plugin and it still reports differently. The only change I see is the android-maven-plugin and the code results to sure fire seem to be passed correctly.

      I can provide privately a same jacoco.exec for testing purposes if necessary.

            ognjenb Ognjen Bubalo
            kingargyle kingargyle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: