-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not add prefix of context twice when calculating base Url #24
Conversation
Quoting @TWestling in pull #6
|
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
What combinations do you want me to check? If you compare the code from Hudson.getInstance().getRootUrl() and the original code from getFullImageUrl then you see that it is basically identical. The only difference is that the prefix it added to the url from the mailer, but the prefix should already be configured there. |
So I tested the following combinations:
For a reverse proxy I assume that the Jenkins URL always has to be configured in the configuration page. Moreover, when using a reverse proxy the prefix on the proxy has to be the same as the prefix configured on Jenkins. At least I did not find a manual describing on how to remap the prefix behind a reverse proxy and my intents failed. Do you want me to test some more? |
Do not add prefix of context twice when calculating base Url
Well, lets see if it holds this time 🎱 |
Would you pull a new release? If you prefer I can do that, too. |
It's on its way. |
Thanks! |
We have the problem that the images of the plugin is not showing in the UI. We have Jenkins runnning under the /ci prefix and configured this as Jenkins URL on the configuration page.
This change should fix the problem.