[
https://issues.jenkins-ci.org/browse/JENKINS-13591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162158#comment-162158
]
Ludovic Meurillon commented on JENKINS-13591:
---------------------------------------------
I tried my changes locally in two different contexts "mvn hpi:run" and "mvn
hpi:run -Dhpi.prefix=jenkins"
I also tested it on different pages like "Administration", sub menus, "show
console" from last build etc...
Does it seems enough from your point of view ? If you know some complex test
case that could be broken, don't hesitate to challenge me ;)
I will use this version on my team's instance to test accross our views but if
it's enough I'll do a pull request as soon as possible.
> Plugin doesn't support jenkins URL prefix (--prefix option)
> -----------------------------------------------------------
>
> Key: JENKINS-13591
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13591
> Project: Jenkins
> Issue Type: Bug
> Components: html5-notifier
> Affects Versions: current
> Reporter: Ludovic Meurillon
> Assignee: jieryn
>
> My jenkins is running behind an apache server, my configuration is very
> simple and look like this one :
> https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache
> The plugin doesn't work with this configuration because absolute URL are used
> into the javascript code, for example in html5-notification.js there is a
> ...new Ajax.Request('/html5-notifier-plugin/list')...
> that refer in my case to http://<HOST>/html5-notifier-plugin/list, but the
> real list is at http://<HOST>/jenkins/html5-notifier-plugin/list
> It might be a Jenkins way to get the server URL properly and inject it into
> js files or java generated js code.
> Ludovic.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira