Skip to content

Jacoco's execution data not registered with Gradle 6? #62

@christopher-cudennec

Description

@christopher-cudennec

Hi everyone!

First of all: Thanks for your great plugin! We use it in most of our projects! 👍

I updated the plugin's version in one of our projects from 3.4.0 to 7.0.8 and our Sonar integration stopped working. Sonar/Jacoco could not find the integrationTest task's execution data anymore.

I had to add the following line to Jacoco's configuration in my build.gradle:

jacocoTestReport {
    executionData(integrationTest) // <-- here
    reports {
        xml.enabled true
    }
}

The project uses Gradle 6.1.

Might this be a bug or am I missing something?

Thanks,

Christopher

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions