Skip to content

Commit 29f5b54

Browse files
committed
report
1 parent 6749181 commit 29f5b54

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

buildspec/linuxTests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ phases:
5252
- mkdir -p $BUILD_ARTIFACTS
5353
- rsync -rmq --include='*/' --include '**/build/idea-sandbox/**/log*/**' --exclude='*' . $TEST_ARTIFACTS/ || true
5454
- rsync -rmq --include='*/' --include '**/build/reports/**' --exclude='*' . $TEST_ARTIFACTS/ || true
55+
- rsync -rmq --include='*/' --include '**/build/**/*.exec' --exclude='*' . $TEST_ARTIFACTS/ || true
5556
- rsync -rmq --include='*/' --include '**/test-results/**/*.xml' --exclude='*' . $TEST_ARTIFACTS/test-reports || true
5657
- find plugins -path '*/build/distributions/*.zip' -exec cp {} $BUILD_ARTIFACTS/ \; || touch $BUILD_ARTIFACTS/build_failed
5758

coverage-report/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ reporting {
2424
reports {
2525
val testCodeCoverageReport by creating(JacocoCoverageReport::class) {
2626
testType = TestSuiteType.UNIT_TEST
27+
// https://github.com/gradle/gradle/issues/20026
28+
reportTask.configure {
29+
classDirectories.setFrom(classDirectories.map {
30+
fileTree(it).matching {
31+
include("**/software/aws/toolkits/**")
32+
exclude("**/software/aws/toolkits/telemetry/**")
33+
}
34+
})
35+
}
2736
}
2837
}
2938
}

0 commit comments

Comments
 (0)