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

Can't update admin email address

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Done
    • email-ext-plugin

    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

          ironwilliamcash Louis-Philippe MacAulay Bruneau created issue -
          ironwilliamcash Louis-Philippe MacAulay Bruneau made changes -
          Field Original Value New Value
          Summary Can't update admin email adress Can't update admin email address
          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.

          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.

          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.

          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.
          slide_o_mix Alex Earl added a comment -

          Removed field for 2.40

          slide_o_mix Alex Earl added a comment - Removed field for 2.40
          slide_o_mix Alex Earl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

          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

          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
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 159913 ] JNJira + In-Review [ 196243 ]

          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?

          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?
          nagarjunac Nagarjuna Reddy C made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          nagarjunac Nagarjuna Reddy C made changes -
          Priority Minor [ 4 ] Blocker [ 1 ]
          nagarjunac Nagarjuna Reddy C made changes -
          Rank Ranked higher
          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.

          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.
          slide_o_mix Alex Earl made changes -
          Resolution Done [ 10000 ]
          Status Reopened [ 4 ] Resolved [ 5 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: