-
Bug
-
Resolution: Unresolved
-
Major
-
Ubuntu 18.04
Folder plugin 6.4
Cobertura plugin 1.12.1
When viewing coverage as a top level project, it is possible to view the source code highlighted with coverage. If a folder is used (or multiple levels of folder), then the plugin reports not being able find the source code to display.
We have used the same project just moved to a folder and then the source is not visible.
The source can be viewed locally, but then the project have to be cloned and built locally.
With the folder plugin, there are multiple /job/ entries (one per folder) which could be confusing the resolving of the link in CoverageResult.java
I can report similar behavior. We have a multi-branch Bitbucket source project and C++ code. We generate Cobertura report with gcovr.
Used environment: Ubuntu 16.04, Jenkins core 2.150.2, Cobertura 1.12.1 and also tried 1.13. If that matters, Folder Plugin 6.7.
I know that it worked some time ago, I did an update of jenkins core and all plugins and to be honest, I cannot undo this to figure out when the problem shows up. The strange is that source code of master branch is properly shown. Source code of all other branches is not shown. This is also why I think that the overall configuration is correct.
EDIT: I have to withdraw my argument, that it works properly on master branch. After a new build of the master branch, it did not work either.