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

CulpritsRecipientProvider does not work with svn and declarative pipeline

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: