Jacoco Coverage incompatible version

Answered

Jacoco coverage is not working in TC v9.1.5 (build 37377). The error is 

"Problem reported from build script: Cannot read Jacoco data file: /app/build/jacoco/testDEVDebugUnitTest.exec: Incompatible version 1006."

Gradle plugin is used to generate the .exec file, tried with Jacoco gradle versions getting the same error, however it works fine on TC v9.1 (build 36973)

'org.jacoco:org.jacoco.core:0.7.5.201505241946'
'org.jacoco:org.jacoco.core:0.7.4.201502262128'
3 comments

Similar issue, TeamCity please advise which jacoco versions are compatible with TC v9.1.5 & TC v9.1.6

0

Thank you for the report. I created the ticket: https://youtrack.jetbrains.com/issue/TW-44803, please watch it to get issue status updates.

0

Hello,

Since 9.1.1 TeamCity uses JaCoCo 0.7.5.201505241946. You can update your gradle script to use same JaCoCo tool version. 

0

Please sign in to leave a comment.