Skip to content

Conversation

@colddew
Copy link
Contributor

@colddew colddew commented Apr 14, 2019

hi, i have used gradle-5.1 to execute codeCoverageReport command, it throw exception as follow, and i solve this problem when i change xml.destination "${buildDir}/reports/jacoco/report.xml" to xml.destination file("${buildDir}/reports/jacoco/report.xml")

➜ micro-service-gradle git:(master) gradle clean test codeCoverageReport Starting a Gradle Daemon (subsequent builds will be faster) FAILURE: Build failed with an exception. * Where: Build file '/Users/anmy/workspace/workspace-new/micro-service-lab/micro-service-gradle/build.gradle' line: 74 * What went wrong: A problem occurred evaluating root project 'micro-service-gradle'. > Could not find method destination() for arguments [/Users/anmy/workspace/workspace-new/micro-service-lab/micro-service-gradle/build/reports/jacoco/report.xml] on Report xml of type org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 5s 
@codecov
Copy link

codecov bot commented Apr 14, 2019

Codecov Report

Merging #14 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@ ## master #14 +/- ## ====================================== Coverage 50% 50% Complexity 2 2 ====================================== Files 1 1 Lines 4 4 ====================================== Hits 2 2 Misses 1 1 Partials 1 1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5358c39...ebce029. Read the comment docs.

Copy link
Contributor

@thomasrockhu thomasrockhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @colddew!

@thomasrockhu thomasrockhu merged commit d185350 into codecov:master Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants