We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2139367 commit 860e269Copy full SHA for 860e269
1 file changed
hadoop-ozone/dev-support/checks/coverage.sh
@@ -53,4 +53,5 @@ find target/coverage-classes -type d \( -name proto -or -name proto3 -or -name g
53
| xargs rm -rf
54
55
#generate the reports
56
-jacoco report "$REPORT_DIR/jacoco-all.exec" --classfiles target/coverage-classes --html "$REPORT_DIR/all" --xml "$REPORT_DIR/all.xml"
+src=$(find hadoop-* -path '*/src/main/java' | sed 's/^/--sourcefiles /g' | xargs echo)
57
+jacoco report "$REPORT_DIR/jacoco-all.exec" $src --classfiles target/coverage-classes --html "$REPORT_DIR/all" --xml "$REPORT_DIR/all.xml"
0 commit comments