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

email-ext plugin does not save configuration on job

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: email-ext-plugin
    • Labels:
    • Environment:
      Email-ext plugin version 2.24.1 / 2.25
      Jenkins version LTS 1.446.2 / LTS 1.480.2
    • Similar Issues:

      Description

      Each job lost the stored email addresses.
      $DEFAULT_RECIPITENS is the env that I see each time I reopen a previously confiugred job.
      This does not allow to communicate to developers the failing builds.

        Attachments

        1. ext-email.jpg
          ext-email.jpg
          110 kB
        2. issue_snapshot.png
          issue_snapshot.png
          71 kB
        3. jenkins_email_ext.png
          jenkins_email_ext.png
          77 kB

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          This looks like a completely different problem. Please post your hudson.plugins.emailext.ExtendedEmailPublisher.xml file.

          Show
          slide_o_mix Alex Earl added a comment - This looks like a completely different problem. Please post your hudson.plugins.emailext.ExtendedEmailPublisher.xml file.
          Hide
          iambaskar Baskaran D added a comment -

          @Alex Earl - Currently, I upgraded my email-ext plugin to v2.34, where i am not seeing this problem.

          I got this when I followed the workaround provided by Jhon Cruz and restarted my jenkins.

          However..

          Current content in hudson.plugins.emailext.ExtendedEmailPublisher.xml file
          <?xml version='1.0' encoding='UTF-8'?>
          <hudson.plugins.emailext.ExtendedEmailPublisherDescriptor plugin="email-ext@2.34">
            <hudsonUrl>http://ci.net/</hudsonUrl>
            <adminAddress>Jenkins@test.com</adminAddress>
            <smtpHost>gmail-smtp-in.l.google.com</smtpHost>
            <useSsl>false</useSsl>
            <defaultContentType>text/plain</defaultContentType>
            <defaultSubject>$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!</defaultSubject>
            <defaultBody>$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:&#xd;
          &#xd;
          Check console output at $BUILD_URL to view the results.</defaultBody>
            <defaultPresendScript></defaultPresendScript>
            <maxAttachmentSize>-1</maxAttachmentSize>
            <recipientList></recipientList>
            <defaultReplyTo></defaultReplyTo>
            <excludedCommitters></excludedCommitters>
            <overrideGlobalSettings>true</overrideGlobalSettings>
            <precedenceBulk>false</precedenceBulk>
            <debugMode>false</debugMode>
            <enableSecurity>false</enableSecurity>
            <enableWatching>false</enableWatching>
          </hudson.plugins.emailext.ExtendedEmailPublisherDescriptor>
          

          I cannot downgrade again now.

          Show
          iambaskar Baskaran D added a comment - @ Alex Earl - Currently, I upgraded my email-ext plugin to v2.34, where i am not seeing this problem. I got this when I followed the workaround provided by Jhon Cruz and restarted my jenkins. However.. Current content in hudson.plugins.emailext.ExtendedEmailPublisher.xml file <?xml version= '1.0' encoding= 'UTF-8' ?> <hudson.plugins.emailext.ExtendedEmailPublisherDescriptor plugin= "email-ext@2.34" > <hudsonUrl> http://ci.net/ </hudsonUrl> <adminAddress> Jenkins@test.com </adminAddress> <smtpHost> gmail-smtp-in.l.google.com </smtpHost> <useSsl> false </useSsl> <defaultContentType> text/plain </defaultContentType> <defaultSubject> $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS! </defaultSubject> <defaultBody> $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:&#xd; &#xd; Check console output at $BUILD_URL to view the results. </defaultBody> <defaultPresendScript> </defaultPresendScript> <maxAttachmentSize> -1 </maxAttachmentSize> <recipientList> </recipientList> <defaultReplyTo> </defaultReplyTo> <excludedCommitters> </excludedCommitters> <overrideGlobalSettings> true </overrideGlobalSettings> <precedenceBulk> false </precedenceBulk> <debugMode> false </debugMode> <enableSecurity> false </enableSecurity> <enableWatching> false </enableWatching> </hudson.plugins.emailext.ExtendedEmailPublisherDescriptor> I cannot downgrade again now.
          Hide
          slide_o_mix Alex Earl added a comment -

          Version 2.34 is still pretty old. Everything looks fine in the file. If you are no longer seeing the issue, then I won't worry.

          Show
          slide_o_mix Alex Earl added a comment - Version 2.34 is still pretty old. Everything looks fine in the file. If you are no longer seeing the issue, then I won't worry.
          Hide
          iambaskar Baskaran D added a comment -

          No more updates available on jenkins pluginManager page. This might be because my Jenkins is running on ver. 1.532.

          Show
          iambaskar Baskaran D added a comment - No more updates available on jenkins pluginManager page. This might be because my Jenkins is running on ver. 1.532.
          Hide
          slide_o_mix Alex Earl added a comment -

          Could be, if you were running LTS (1.532.x), it would be up to 2.37.2.2

          Show
          slide_o_mix Alex Earl added a comment - Could be, if you were running LTS (1.532.x), it would be up to 2.37.2.2

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              frido82 Federico Paolantoni
            • Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: