Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
christopher-cudennec opened this issue Mar 31, 2020 · 0 comments
Open

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

christopher-cudennec opened this issue Mar 31, 2020 · 0 comments

Comments

@christopher-cudennec
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant