0 % is showing in gitpull request
Hi,
Coverage report is showing as 0 % in gitpull request comment. But same report is giving a value into sonarqube dashboard.
We also are experiencing this issue. In the initial phases of debugging and will update/PR if we come upon a fix. EDIT: Moved our unrelated issue to new issue
Sure. could you please enable that customize path and filename
Sorry @skalaiyarasan, upon further inspection this is a different issue than what you're experiencing. I am going to open a new issue.
@skalaiyarasan do you have log from your PR build?
@terma As of now, i'm not working on which is related this issue.
But one query. Could you please enable that customize path and filename
@skalaiyarasan no problem
@terma I having this issue as well although not sure if it related. (plugin ver. 1.8.2, Jenkins ver. 1.651.3)
I have enabled the Record Master Coverage post build action on the job that tests master.
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 1:21.609s
INFO: Final Memory: 59M/773M
INFO: ------------------------------------------------------------------------
Master coverage +33%
[WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done
Finished: SUCCESS
And then enabled the Publish Coverage to Github post build action on the Github Pull Request Builder job (same repo):
[GitHub PR Status] start
[GitHub PR Status] getting master coverage...
use default coverage repo
Can't find master coverage repository: https://github.com/ORG/REPO.git in stored: {https://github.com/ORG/REPO.git=0.32695}
Make sure that you have run build with step: Record Master Coverage
[GitHub PR Status] master coverage: 0.0
[GitHub PR Status] collecting coverage...
[GitHub PR Status] build coverage: 0.3261
[GitHub PR Status] Coverage 33% changed +32.61% vs master 0%
[WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done
Finished: SUCCESS
What is going on here?
[GitHub PR Status] start
[GitHub PR Status] getting master coverage...
use default coverage repo
[GitHub PR Status] master coverage: 0.0
[GitHub PR Status] collecting coverage...
[GitHub PR Status] build coverage: 0.0
[GitHub PR Status] Coverage 0% changed 0.0% vs master 0%
[GitHub PR Status] publishing result as status check
I getting this message. cannot collect coverage report using clover.xml file can someone help me?