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

EMail-Ext Extended Pipeline Support - Recipient Providers

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • email-ext-plugin
    • None

      Add support for using recipient providers in workflows

      Return a list of emails from selected recipient providers:

      emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']])

      eg:

      step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']])])

      Send an email to abc plus any addresses returned by the providers:

      emailext body: 'A Test EMail', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: 'Test', to: 'abc'

          [JENKINS-35365] EMail-Ext Extended Pipeline Support - Recipient Providers

          David van Laatum created issue -
          David van Laatum made changes -
          Description New: Add support for using recipient providers in workflows
          David van Laatum made changes -
          Link New: This issue is related to JENKINS-34763 [ JENKINS-34763 ]
          David van Laatum made changes -
          Description Original: Add support for using recipient providers in workflows New: Add support for using recipient providers in workflows

          Return a list of emails from selected recipient providers:
          {code}emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']]){code}

          Send an email to abc plus any addresses returned by the providers:
          {code}emailext body: 'A Test EMail', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: 'Test', to: 'abc'{code}
          David van Laatum made changes -
          Description Original: Add support for using recipient providers in workflows

          Return a list of emails from selected recipient providers:
          {code}emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']]){code}

          Send an email to abc plus any addresses returned by the providers:
          {code}emailext body: 'A Test EMail', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: 'Test', to: 'abc'{code}
          New: Add support for using recipient providers in workflows

          Return a list of emails from selected recipient providers:
          {code}emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']]){code}

          eg:
          {code}step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']])]){code}

          Send an email to abc plus any addresses returned by the providers:
          {code}emailext body: 'A Test EMail', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: 'Test', to: 'abc'{code}
          David van Laatum made changes -
          Summary Original: Extended Pipeline Support - Recipient Providers New: EMail-Ext Extended Pipeline Support - Recipient Providers
          David van Laatum made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171655 ] New: JNJira + In-Review [ 210115 ]

            davidvanlaatum David van Laatum
            davidvanlaatum David van Laatum
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: