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

CulpritsRecipientProvider does not work with svn and declarative pipeline

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: email-ext-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.176.1
      Email extension plugin 2.66
      Token macro plugin 2.8
    • Similar Issues:
    • Released As:
      2.67

      Description

      It seems that CulpritsRecipientProvider does not work with svn and a declarative pipeline job.

      My declarative pipeline has:

      failure {
              script{ emailext (subject: "${env.JOB_NAME}: Build #${env.BUILD_NUMBER} - Failure!",
              body: '${DEFAULT_CONTENT}',
              recipientProviders: [[$class: 'CulpritsRecipientProvider']],
              to: '<snip>')  }
      }
      

      Last week this job failed but only the 'to:' recipients were notified, not the culprits.

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -
          Show
          slide_o_mix Alex Earl added a comment - This may be fixed with this PR https://github.com/jenkinsci/email-ext-plugin/pull/192
          Hide
          pcellix Wojciech Kosowicz added a comment - - edited

          Hello

          Was this fix released?  
          I have encountered the similar issue

          I wonder could this issue affect git users as well?

          I noticed that while I'm declaring both RecipientProviders and 'to' only the mail stated in 'to' receives the message

          I'm using version 2.68

          Show
          pcellix Wojciech Kosowicz added a comment - - edited Hello Was this fix released?   I have encountered the similar issue I wonder could this issue affect git users as well? I noticed that while I'm declaring both RecipientProviders and 'to' only the mail stated in 'to' receives the message I'm using version 2.68
          Hide
          slide_o_mix Alex Earl added a comment -

          No, I don't currently have a machine I can do released on. I'll work on that.

          Show
          slide_o_mix Alex Earl added a comment - No, I don't currently have a machine I can do released on. I'll work on that.
          Hide
          aressler Alexander Ressler added a comment -

          When will this be released?

          Show
          aressler Alexander Ressler added a comment - When will this be released?
          Hide
          slide_o_mix Alex Earl added a comment -

          I still have a machine I can release from right now. Still working on that.

          Show
          slide_o_mix Alex Earl added a comment - I still have a machine I can release from right now. Still working on that.
          Hide
          basil Basil Crow added a comment -

          Released in 2.67.

          Show
          basil Basil Crow added a comment - Released in 2.67 .

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            davida2009 David Aldrich
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: