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

Email-ext not updating emails with changes in Jenkins

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • email-ext-plugin
    • None
    • Jenkins 1.563
      Ubuntu Precise
      java version "1.6.0_34"
      OpenJDK Runtime Environment (IcedTea6 1.13.6) (6b34-1.13.6-1ubuntu0.12.04.1)
      OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
      email-ext: 2.37.2.2

      We have made changes to "Default Content" in Editable Email Notification for a job. This is in a post-build action. However, changes in this block are not reflected in the email. The config.xml for the job shows the change, and we have reloaded the configuration in jenkins. Still no update.

      Screenshot of the changed field: https://www.evernote.com/l/AKrSQB4mNixJaoPlkAl_H6e32nDBWSAXE7A

      Example of the mail received in inbox:
      http://note.io/1HQUiot

      Note the mail does not include the 'Content' or "Sanitizer summary" or similar.

      Is this being overriden elsewhere? Help please!

          [JENKINS-27848] Email-ext not updating emails with changes in Jenkins

          Alex Earl added a comment - - edited

          What do your triggers look like for content?

          Alex Earl added a comment - - edited What do your triggers look like for content?

          Dave Shevett added a comment -

          Our only trigger is an SCM poll every 10 minutes. If there's an update there, the build happens.

          Dave Shevett added a comment - Our only trigger is an SCM poll every 10 minutes. If there's an update there, the build happens.

          Alex Earl added a comment -

          Sorry, I mean the email-ext triggers. In the Advanced section of the configuration.

          Alex Earl added a comment - Sorry, I mean the email-ext triggers. In the Advanced section of the configuration.

          Dave Shevett added a comment -

          Only on 'Success' and... AHA! http://note.io/1alGWFA

          So THATS where I should be modifying the output, yes? That's confusing...

          I can use the same variable substitution in that section, correct?

          Dave Shevett added a comment - Only on 'Success' and... AHA! http://note.io/1alGWFA So THATS where I should be modifying the output, yes? That's confusing... I can use the same variable substitution in that section, correct?

          Alex Earl added a comment -

          Yes, that is where you need to modify it. If you just want to use the content from the higher level, you can use $PROJECT_DEFAULT_CONTENT in the trigger's content area.

          Alex Earl added a comment - Yes, that is where you need to modify it. If you just want to use the content from the higher level, you can use $PROJECT_DEFAULT_CONTENT in the trigger's content area.

            slide_o_mix Alex Earl
            shevett Dave Shevett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: