jenkinsci / llvm-cov-plugin

Jenkins llvm-cov plugin
https://plugins.jenkins.io/llvm-cov/
6 stars 4 forks source link

missing source data on the report page #4

Closed zhihaining closed 5 years ago

zhihaining commented 5 years ago

I'm also trying llvm-cov-plugin 1.0.0-alpha-2 and Code Coverage API Plugin 1.0.10

Under pipeline->post->always the llvmAdapter is defined / publish llvm coverage report/ publishCoverage adapters: [llvmAdapter('UnittestsReport/Report.json')], sourceFileResolver: sourceFiles('STORE_LAST_BUILD')

There is also no error or waning in Jenkins log, but no source file was shown on the report page: grafik

logs of publishCoverage:

[Pipeline] publishCoverage
Publishing Coverage report....
A total of 1 reports were found
Source File Navigation is enabled - Current level: STORE_LAST_BUILD
0 source files need to be copied

I've created the Report.json with llvm-cov-6.0

cizezsy commented 5 years ago

Fix in #7, and will release a new version, thanks~