diff --git a/.oniro-ci/test-generic.yaml b/.oniro-ci/test-generic.yaml
index 73ab257748a7f3f8f0e459c98383140c49985faa..f2854aa1c1ff68f24db349fc16ca5b668cdb1748 100644
--- a/.oniro-ci/test-generic.yaml
+++ b/.oniro-ci/test-generic.yaml
@@ -102,7 +102,7 @@
           health="$(curl --silent "$CI_LAVA_INSTANCE/api/v0.2/jobs/$p/" | jq '.health' | tr -d '"')"
           echo "[$health] $link"
           # Get the JUnit export from LAVA.
-          curl --silent -o job_$p.xml "$CI_LAVA_INSTANCE/api/v0.2/jobs/$p/junit/"
+          curl --silent -o job_$p.xml "$CI_LAVA_INSTANCE/api/v0.2/jobs/$p/junit/?classname_prefix=$p"
           echo "Report file: $(ls job_$p.xml)"
         done < "$file"
       done