Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/cobertura-plugin
  Commit: e75d0e9154a1144491b97b21acac2a037433286c
      
https://github.com/jenkinsci/cobertura-plugin/commit/e75d0e9154a1144491b97b21acac2a037433286c
  Author: Aliaksei <dntsaygood...@gmail.com>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M pom.xml
    M 
src/main/resources/hudson/plugins/cobertura/adapter/cobertura-to-standard.xsl
    A 
src/test/java/hudson/plugins/cobertura/adapter/CoberturaReportAdapterTest.java
    A 
src/test/resources/hudson/plugins/cobertura/adapter/coberturaWithTheSameFileInDifferentPackages.xml

  Log Message:
  -----------
  Support cases when one file may be in multiple packages (#115)

There is a tool called Coverlet which is a .NET utility that collects
code coverage information and it produces reports in Cobertura. And this
Coberura report may contain one file in different packages
(.NET assemblies). .NET allows you to reference one file in multiple
projects(assemblies). Because of this, when you use the Cobertura plugin
to publish your code coverage in Jenkins it shows it incorrect because
the plugin uses Muenchian grouping which doesn't allow you to have
one file in multiple packages, it just groups them, globally for a whole
report. Changed the xslt scheme to use the for-each-group which allows
to have one file in multiple packages.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/cobertura-plugin/push/refs/heads/master/4d786d-e75d0e%40github.com.

Reply via email to