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

CulpritsRecipientProvider does not work with svn and declarative pipeline

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • email-ext-plugin
    • None
    • Jenkins 2.176.1
      Email extension plugin 2.66
      Token macro plugin 2.8
    • 2.67

      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.

          [JENKINS-58275] CulpritsRecipientProvider does not work with svn and declarative pipeline

          Alex Earl added a comment -

          Alex Earl added a comment - This may be fixed with this PR https://github.com/jenkinsci/email-ext-plugin/pull/192

          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

          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

          Alex Earl added a comment -

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

          Alex Earl added a comment - No, I don't currently have a machine I can do released on. I'll work on that.

          When will this be released?

          Alexander Ressler added a comment - When will this be released?

          Alex Earl added a comment -

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

          Alex Earl added a comment - I still have a machine I can release from right now. Still working on that.

          Basil Crow added a comment -

          Released in 2.67.

          Basil Crow added a comment - Released in 2.67 .

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

              Created:
              Updated:
              Resolved: