[
https://issues.jenkins-ci.org/browse/JENKINS-13242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160875#comment-160875
]
shinsato commented on JENKINS-13242:
------------------------------------
Found the problem - the java file
src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java, in
the configure method - is not checking the setting for overrideGlobalSettings
before it actually does the overriding. Since I had been playing with the
settings - I had entered a string in that field - so that caused the problem.
It's not just for the URL setting though - all of the overridden settings can
potentially trample on the defaults even if the overrideGlobalSettings checkbox
is turned back off.
> Email Extension plugin - groovy and jelly do not update $rooturl after
> Jenkins URL updated
> ------------------------------------------------------------------------------------------
>
> Key: JENKINS-13242
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13242
> Project: Jenkins
> Issue Type: Bug
> Components: email-ext
> Affects Versions: current
> Environment: Windows 2008 R2
> Reporter: shinsato
>
> Running the Email Extension plugin - version 2.14.1 with Jenkins 1.424.6 - I
> had the Jenkins URL set incorrectly which was causing broken images and the
> wrong rooturl in my email-ext status message after a job built (using the
> HTML and the included templates). Fixing the Jenkins URL did not fix it. I
> then upgraded to Email-ext version 2.19 with Jenkins 1.457. This also did not
> fix it. I'm confused because if I "echo %rooturl%" as a Windows Batch script
> as a build step - it gives the right response. I can't see any place that the
> plugin could be caching this info.
--
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