Gradle+Jacoco+Jenkinsの構成でカバレッジが取れない
Jenkins動かしたらカバレッジが0になる。。。。。。
良いブログ主様がいたのでそのままやってみる
参考資料
build.gradle
apply plugin: 'java'
apply plugin: 'jacoco'
repositories {
mavenCentral()
}
dependencies {
testCompile 'junit:junit:4.+'
}
jacoco {
toolVersion = "0.7.5.+"
}
- 上記のようにjacocoのversionを指定
- JaCoCo 0.7.5では以前のバージョンとexecファイルの互換性がない
- pluginのversionが2.0.0ならJaCoCo 0.7.5を使う
トレターーーーー
Author And Source
この問題について(Gradle+Jacoco+Jenkinsの構成でカバレッジが取れない), 我々は、より多くの情報をここで見つけました https://qiita.com/gozuqi/items/c9b1a6de313c600908c8著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .