github-pr-coverage-status-plugin icon indicating copy to clipboard operation
github-pr-coverage-status-plugin copied to clipboard

0 % is showing in gitpull request

Open skalaiyarasan opened this issue 8 years ago • 8 comments

Hi,

Coverage report is showing as 0 % in gitpull request comment. But same report is giving a value into sonarqube dashboard.

skalaiyarasan avatar Jun 16 '17 06:06 skalaiyarasan

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

technolo-g avatar Jun 27 '17 23:06 technolo-g

Sure. could you please enable that customize path and filename

skalaiyarasan avatar Jun 28 '17 11:06 skalaiyarasan

Sorry @skalaiyarasan, upon further inspection this is a different issue than what you're experiencing. I am going to open a new issue.

technolo-g avatar Jun 29 '17 15:06 technolo-g

@skalaiyarasan do you have log from your PR build?

terma avatar Jul 25 '17 05:07 terma

@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 avatar Aug 03 '17 09:08 skalaiyarasan

@skalaiyarasan no problem

terma avatar Aug 07 '17 12:08 terma

@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?

robvelor avatar Aug 07 '17 18:08 robvelor

[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?

darshanshah avatar Dec 10 '20 20:12 darshanshah