Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25926

Can't update admin email address

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Component/s: email-ext-plugin
    • Labels:
    • Environment:
    • Similar Issues:

      Description

      When trying to change the "System Admin E-mail Address" in the "Extended E-mail Notification" config page, it doesn't keep the new value when hitting the save and/or apply button.

      It always goes back to the old value. The only way to update it is to go manually edit the config files.

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          Please ask questions on the Jenkins User mailing list. There is only one place to set the admin address, in the Jenkins Location Configuration section in Global Settings.

          Show
          slide_o_mix Alex Earl added a comment - Please ask questions on the Jenkins User mailing list. There is only one place to set the admin address, in the Jenkins Location Configuration section in Global Settings.
          Hide
          nagarjunac Nagarjuna Reddy C added a comment -

          I have this value "cicd <cicd@voonik.com>" under System Admin e-mail address.
          But all the mails that are sent from jenkins are having the from mail as the user id configured in the smtp settings.

          I am unable to change the from mail id with the help of System Admin e-mail address option. Can you help me with setting a default from id for all mails that were sent from jenkins?

          Show
          nagarjunac Nagarjuna Reddy C added a comment - I have this value "cicd <cicd@voonik.com>" under System Admin e-mail address. But all the mails that are sent from jenkins are having the from mail as the user id configured in the smtp settings. I am unable to change the from mail id with the help of System Admin e-mail address option. Can you help me with setting a default from id for all mails that were sent from jenkins?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Alex Earl
          Path:
          pom.xml
          src/main/java/hudson/plugins/emailext/AttachmentUtils.java
          src/main/java/hudson/plugins/emailext/EmailExtTemplateAction.java
          src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
          src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java
          src/main/java/hudson/plugins/emailext/plugins/CssInliner.java
          src/main/java/hudson/plugins/emailext/plugins/EmailTrigger.java
          src/main/java/hudson/plugins/emailext/plugins/EmailTriggerDescriptor.java
          src/main/java/hudson/plugins/emailext/plugins/trigger/AbstractScriptTrigger.java
          src/main/java/hudson/plugins/emailext/plugins/trigger/PreBuildScriptTrigger.java
          src/main/java/hudson/plugins/emailext/plugins/trigger/ScriptTrigger.java
          src/main/java/hudson/plugins/emailext/watching/EmailExtWatchAction.java
          src/main/java/hudson/plugins/emailext/watching/EmailExtWatchJobProperty.java
          src/main/resources/hudson/plugins/emailext/EmailExtTemplateAction/action.groovy
          src/main/resources/hudson/plugins/emailext/EmailExtTemplateAction/action.jelly
          src/main/resources/hudson/plugins/emailext/ExtendedEmailPublisher/global.groovy
          src/main/resources/hudson/plugins/emailext/Messages.properties
          src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/help-triggers.html
          src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/help-triggers_ja.html
          src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/help-triggers_zh_TW.html
          src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/index.groovy
          src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/index.properties
          src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/jobMain.groovy
          src/main/webapp/help/globalConfig/watching.html
          src/test/java/hudson/plugins/emailext/EmailTypeTest.java
          src/test/java/hudson/plugins/emailext/plugins/CssInlinerTest.java
          src/test/java/hudson/plugins/emailext/plugins/content/JellyScriptContentTest.java
          src/test/java/hudson/plugins/emailext/plugins/content/ScriptContentChangeLogSet.java
          src/test/java/hudson/plugins/emailext/plugins/content/ScriptContentTest.java
          src/test/java/hudson/plugins/emailext/plugins/recipients/MockUtilities.java
          src/test/resources/recipient-provider-upgrade2.xml
          http://jenkins-ci.org/commit/email-ext-plugin/bb0053d79fec59f34d3014117883282d6c2239dc
          Log:
          Fix JENKINS-18567, JENKINS-25926 and JENKINS-25719

          Added ability for users to watch a job.
          Fixup the html content coming from CssInliner
          Remove adminAddress field for global config

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: pom.xml src/main/java/hudson/plugins/emailext/AttachmentUtils.java src/main/java/hudson/plugins/emailext/EmailExtTemplateAction.java src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java src/main/java/hudson/plugins/emailext/plugins/CssInliner.java src/main/java/hudson/plugins/emailext/plugins/EmailTrigger.java src/main/java/hudson/plugins/emailext/plugins/EmailTriggerDescriptor.java src/main/java/hudson/plugins/emailext/plugins/trigger/AbstractScriptTrigger.java src/main/java/hudson/plugins/emailext/plugins/trigger/PreBuildScriptTrigger.java src/main/java/hudson/plugins/emailext/plugins/trigger/ScriptTrigger.java src/main/java/hudson/plugins/emailext/watching/EmailExtWatchAction.java src/main/java/hudson/plugins/emailext/watching/EmailExtWatchJobProperty.java src/main/resources/hudson/plugins/emailext/EmailExtTemplateAction/action.groovy src/main/resources/hudson/plugins/emailext/EmailExtTemplateAction/action.jelly src/main/resources/hudson/plugins/emailext/ExtendedEmailPublisher/global.groovy src/main/resources/hudson/plugins/emailext/Messages.properties src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/help-triggers.html src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/help-triggers_ja.html src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/help-triggers_zh_TW.html src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/index.groovy src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/index.properties src/main/resources/hudson/plugins/emailext/watching/EmailExtWatchAction/jobMain.groovy src/main/webapp/help/globalConfig/watching.html src/test/java/hudson/plugins/emailext/EmailTypeTest.java src/test/java/hudson/plugins/emailext/plugins/CssInlinerTest.java src/test/java/hudson/plugins/emailext/plugins/content/JellyScriptContentTest.java src/test/java/hudson/plugins/emailext/plugins/content/ScriptContentChangeLogSet.java src/test/java/hudson/plugins/emailext/plugins/content/ScriptContentTest.java src/test/java/hudson/plugins/emailext/plugins/recipients/MockUtilities.java src/test/resources/recipient-provider-upgrade2.xml http://jenkins-ci.org/commit/email-ext-plugin/bb0053d79fec59f34d3014117883282d6c2239dc Log: Fix JENKINS-18567 , JENKINS-25926 and JENKINS-25719 Added ability for users to watch a job. Fixup the html content coming from CssInliner Remove adminAddress field for global config
          Hide
          slide_o_mix Alex Earl added a comment -

          Removed field for 2.40

          Show
          slide_o_mix Alex Earl added a comment - Removed field for 2.40
          Hide
          ironwilliamcash Louis-Philippe MacAulay Bruneau added a comment -

          I tried changing the JenkinsLocationConfiguration object and this does change the admin email-address. I agree, this field should be removed as it seems to be useless.

          Show
          ironwilliamcash Louis-Philippe MacAulay Bruneau added a comment - I tried changing the JenkinsLocationConfiguration object and this does change the admin email-address. I agree, this field should be removed as it seems to be useless.
          Hide
          slide_o_mix Alex Earl added a comment -

          The admin address is taken from the JenkinsLocationConfiguration object. It should be updated in that general section. The field should be removed from the email-ext global config.

          Show
          slide_o_mix Alex Earl added a comment - The admin address is taken from the JenkinsLocationConfiguration object. It should be updated in that general section. The field should be removed from the email-ext global config.

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              ironwilliamcash Louis-Philippe MacAulay Bruneau
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: