[FIXED JENKINS-16368]

HyperlinkNote shouldn't emit the absolute URL.
This commit is contained in:
Kohsuke Kawaguchi committed 2013-02-28 17:33:36 -08:00
1 parent 00bfa35651
commit 9447289c87
4 files changed
+18 -2

No files matched your search

+2
View File
@@ -183,6 +183,8 @@ public class Functions {
the same thing as "/abc/def.ghi", but this avoids the stale cache
problem when the user upgrades to new Jenkins. Stapler also sets a long
future expiration dates for such static resources.
see https://wiki.jenkins-ci.org/display/JENKINS/Hyperlinks+in+HTML
*/
context.setVariable("resURL",rootURL+getResourcePath());
context.setVariable("imagesURL",rootURL+getResourcePath()+"/images");