I am using python script to convert lcov file to cobertura format so that I can use Jenkins plugin to show the report in the job. I need to exclude few packages and some files, the python script only provides option to exclude packages. Any other workaround?
https://github.com/eriwen/lcov-to-cobertura-xml
Excludes the entire package, python lcov_cobertura.py lcov.info --excludes sources.modules.web.services.transport -o coverage1.xml
I want to exclude on the "BundleService.js" under transport package, (This doesn't work) python lcov_cobertura.py lcov.info --excludes sources.modules.web.services.transport.BundleService -o coverage2.xml
Tried multiple regex, still no luck.