Closed theKBro closed 1 year ago
It seems that I forgot at one place to normalize the path names to the same format (Windows, Unix).
As a workaround you can add the source folder src
for now.
As far as I remember I also tried it with forward slashes instead of backslashes without success.
Jenkins and plugins versions report
Environment
```text Jenkins: 2.387.2 OS: Linux - 4.18.0-425.19.2.el8_7.x86_64 Java: 11.0.19 - Red Hat, Inc. (OpenJDK 64-Bit Server VM) --- cobertura:1.17 code-coverage-api:4.2.0 ```What Operating System are you using (both controller, and any agents involved in the problem)?
agent is running windows
Reproduction steps
cobertura coverage result file contains absolute paths to source directories within the projects workspace e.g. workspace is:
C:\J\workspace\ProjectName\ws
Expected Results
should be handeld just like a relative path inside of the workspace e.g.
and no error should be reported
Actual Results
an error is reported
Anything else?
I run into this problem multiple times now with different tools generating cobertura coverage results.