-
Bug
-
Resolution: Not A Defect
-
Major
-
None
See https://issues.jenkins-ci.org/browse/JENKINS-23623, if you use ${job.url} in a column extension, it is working in the default view, but breaks in a non-default view.
In the default view, the link is:
http://localhost/job/test-job/lastSuccessfulBuild/jacoco/
However in a different view, it is rendered as:
http://localhost/view/Coverage/view/Coverage/job/test-job/lastSuccessfulBuild/jacoco/
i.e. duplicating the "view/Coverage/" part.
There are multiple extensions which currently break because of this, at least the jacococolumn in jacoco-plugin and a number of columns in the extra-columns-plugin, see https://github.com/jenkinsci/extra-columns-plugin/search?utf8=%E2%9C%93&q=job.url
Workaround seems to be to use ${jobBaseUrl}${job.shortUrl} instead of ${job.url} as this leads to working URLs always.
- is blocking
-
JENKINS-23583 Column "Test Result" has incorrect link
- Resolved
-
JENKINS-23623 JaCoCo: link in line coverage column no longer works
- Closed
- is related to
-
JENKINS-19310 Incorrect links in build history when view is defined inside a folder
- Resolved
-
JENKINS-26410 Dashboard links broken when inside folder
- Resolved