This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 860e2699c4 HDDS-11538. Let coverage report link to java sources (#7280)
860e2699c4 is described below

commit 860e2699c4e3243fa39e07fc0fe60aad873a584e
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Oct 16 11:35:29 2024 +0200

    HDDS-11538. Let coverage report link to java sources (#7280)
---
 hadoop-ozone/dev-support/checks/coverage.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hadoop-ozone/dev-support/checks/coverage.sh 
b/hadoop-ozone/dev-support/checks/coverage.sh
index 04961921d9..67161d01a0 100755
--- a/hadoop-ozone/dev-support/checks/coverage.sh
+++ b/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
   | xargs rm -rf
 
 #generate the reports
-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)
+jacoco report "$REPORT_DIR/jacoco-all.exec" $src --classfiles 
target/coverage-classes --html "$REPORT_DIR/all" --xml "$REPORT_DIR/all.xml"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to