When creating deterministic cobertura reports with coverlet (c# dotnet coverage).

      This leads to empty <sources/> and relative filenames starting with "/_/...abc.cs".

      https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/DeterministicBuild.md

      Currently these files cannot be found by the coverage plugin.

       

      [-ERROR-] Errors while resolving source files on agent:
      [Coverage] [-ERROR-] - Source file '/_/...abc.cs' not found 

       

      It would be great if this would work out of the box.

       

          [JENKINS-73635] support deterministic coverage report

          Kevin Broselge created issue -
          Ulli Hafner made changes -
          Component/s New: coverage-model [ 29124 ]
          Component/s Original: coverage-plugin [ 29223 ]

          Ulli Hafner added a comment -

          Is everything after "/_/" the correct relative path? Then the Cobertura Parser should filter this text prefix.

          Ulli Hafner added a comment - Is everything after "/_/" the correct relative path? Then the Cobertura Parser should filter this text prefix.
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ]
          Labels New: help-wanted newbie-friendly

          Yes it is.

          For now I replace /_/ with ./ in the coverage reports and then everything works as expected

          Kevin Broselge added a comment - Yes it is. For now I replace /_/ with ./ in the coverage reports and then everything works as expected
          Kuntal made changes -
          Assignee New: Kuntal [ kuntal271 ]
          Ulli Hafner made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ulli Hafner made changes -
          Remote Link New: This issue links to "PR #121 (Web Link)" [ 29983 ]
          Ulli Hafner made changes -
          Assignee Original: Kuntal [ kuntal271 ] New: Ulli Hafner [ drulli ]

          Ulli Hafner added a comment -

          thebro Do you have a simple example report that we can use for a test? Otherwise I need to create a fake report on my own...

          Ulli Hafner added a comment - thebro Do you have a simple example report that we can use for a test? Otherwise I need to create a fake report on my own...

            drulli Ulli Hafner
            thebro Kevin Broselge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: