Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 11/Oct/14 8:45 AM
Description:

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.

Project: Jenkins
Priority: Major Major
Reporter: centic
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to