Jacoco Data File does not exist. Coverage will not be collected.
Hi
I have issues with Jacoco Code Coverage.
Log:
[INFO] --- jacoco-maven-plugin:0.8.8:report (default-cli) @ alegria-qkiss-webportal ---
20:44:16 Importing data from '/mnt/agent/work/55c26738c9f154e9/target/surefire-reports/TEST-*.xml' (not existing file) with 'surefire' processor
20:44:16 Importing data from '/mnt/agent/work/55c26738c9f154e9/target/failsafe-reports/TEST-*.xml' (not existing file) with 'surefire' processor
20:44:16 Surefire report watcher
20:44:16 Watching paths:
20:44:16 /mnt/agent/work/55c26738c9f154e9/target/surefire-reports/TEST-*.xml
20:44:16 [INFO] Loading execution data file /mnt/agent/work/55c26738c9f154e9/target/jacoco.exec
20:44:16 Surefire report watcher
20:44:16 Watching paths:
20:44:16 /mnt/agent/work/55c26738c9f154e9/target/failsafe-reports/TEST-*.xml
20:44:19 [INFO] Analyzed bundle 'Q-KISS' with 1961 classes
20:44:24 [INFO] ------------------------------------------------------------------------
20:44:24 [INFO] BUILD SUCCESS
20:44:24 [INFO] ------------------------------------------------------------------------
20:44:24 [INFO] Total time: 9.987 s
20:44:24 [INFO] Finished at: 2023-06-16T18:44:24Z
20:44:24 [INFO] ------------------------------------------------------------------------
20:44:24 Process exited with code 0
20:44:24 Publishing artifacts
20:44:24 Waiting for 2 service processes to complete
20:44:24 Jacoco data file "/mnt/agent/temp/buildTmp/JACOCO4520591112127675441coverage/jacoco.exec" does not exist. Coverage will not be collected.
i have also the artifacts
Do you have any Idea?
best regards
Zafer
Please sign in to leave a comment.
Hello,
You have set the Jacoco version 0.8.8: is it installed under Administration -> Tools? If it is installed, can you make it as default version in the same menu, select default in your build configuration step and check if it works?
Thank you,
Guilherme