Jenkinsプラグインを使用してジョブでレポートを表示できるように、pythonスクリプトを使用してlcovファイルをcobertura形式に変換しています。いくつかのパッケージといくつかのファイルを除外する必要があります。Python スクリプトは、パッケージを除外するオプションのみを提供します。他の回避策はありますか?
https://github.com/eriwen/lcov-to-cobertura-xml
パッケージ全体を除外します。 python lcov_cobertura.py lcov.info --sources.modules.web.services.transport -o coverage1.xml を除外します。
transport パッケージの下の "BundleService.js" を除外したい (これは機能しません) python lcov_cobertura.py lcov.info --excludes sources.modules.web.services.transport.BundleService -o coverage2.xml
複数の正規表現を試しましたが、まだ運がありません。