jenkinsci / opencover-plugin

Jenkins OpenCover Plugin
https://plugins.jenkins.io/opencover/
MIT License
3 stars 3 forks source link

NullPointerException while publish coverage report (v1.02) #6

Closed chehomovns closed 4 years ago

chehomovns commented 4 years ago

After release 1.02 i get NullPointer while try to publish coverage report.
I run it with command in Jenkins: publishCoverage adapters: [opencoverAdapter(mergeToOneReport: true, path: 'openCoverCoverage*.xml')], sourceFileResolver: sourceFiles('NEVER_STORE')
After tests end i got this: image

tempora-mutantur commented 4 years ago

@chehomovns Can you, please, provide your opencover report?

chehomovns commented 4 years ago

@tempora-mutantur Sorry there is information i can't share. But i check what generated report is ok with this tool and all work well. I can check specific place in this report if u need

tempora-mutantur commented 4 years ago

@chehomovns Released 1.0.3. It should be available for download. Fixed a couple of cases, one of those, very likely, was yours. Please, try it, and in case it won't help - we'll go through your file and check what is the reason. Thank you.

chehomovns commented 4 years ago

Thank you. Now it's work well.