Ullrich Hafner
Ullrich Hafner
Yes, that makes sense. I added a vote for that issue.
BTW: your parser also can't parse Gradle output with Windows file letters, see https://github.com/jenkinsci/analysis-model/commit/61b4883e8c38b3e2d7a7a4a2aeb45dcefbdabba1
Ah, nice! Hopefully they merge it soon.
@Vlatombe are you planning to finish this PR in the near future?
> @uhafner I pushed a new method based on what you commented earlier. Let me know if it satisfies your use case. Yes, this is exactly what I need. It...
I tested the new implementation, it works as expected! (See https://github.com/jenkinsci/prism-api-plugin/blob/599a3307af0e4e6263db95cee1ed79f7ae541131/src/main/java/io/jenkins/plugins/prism/SourcePrinter.java#L105-L113) 🎉
Did you approve the folders that are not in your Jenkins workspace?
Sorry, I should have read the error message better 🙈 The actual problem is: Source file 'workdir/workspace/project/source-root/folder/source.cpp' not found It seems that OpenCpp coverage does not report files with absolute...
I see. It seems to be a chicken egg problem. These source directories are removed in the beginning since they are not part of the workspace and are not approved...
> Some more experimenting: > > * I tried sourceDirectories: [[path: '../../..']] with no success > * I added d:/, d:/workdir and d:/workdir/workspace to the section of the global settings...