jenkinsci / jenkinsci/cloudbees-folder-plugin
[JENKINS-53379] Source code not shown when using folders plugin
- Dominant language
- Java
- Stars
- 59
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
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
---
Originally reported by pt_tothepower2, imported from: Source code not shown when using folders plugin
jeffpearce
Raw content of original issue
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
environment
```
Ubuntu 18.04
Folder plugin 6.4
Cobertura plugin 1.12.1
```
Contributor guide
Assessment
This issue has not been assessed yet.