Anyhow. Why does something return nothing? final def RECIPIENTS = emailextrecipients([ [$class: 'DevelopersRecipientProvider'], [$class: 'CulpritsRecipientProvider'], [$class: 'UpstreamComitterRecipientProvider'], [$class: 'FirstFailingBuildSuspectsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'] ])
node("master") { emailext body: CONTENT, recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'DevelopersRecipientProvider'], [ $class: 'UpstreamComitterRecipientProvider'], [$class: 'FirstFailingBuildSuspectsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider']], subject: SUBJECT, to: "cc:${CC},bcc:${BCC}" } Could anyone confirm that emailext needs access to the source code git repository in the workspace? Perhaps I should include ALL the recipient providers, just in case. What I want is to notify the commit authors of failed build. Using only the 3 first recipient providers, something recipients are empty. fredag 9. september 2016 15.07.00 UTC+2 skrev Sverre Moe følgende: > > fredag 9. september 2016 14.44.33 UTC+2 skrev slide følgende: >> >> >> On Thu, Sep 8, 2016 at 11:25 PM Sverre Moe <sverr...@gmail.com> wrote: >> >>> In what parameter, to or recipientProviders? >>> >>> >>> >> In the "to" parameter. The recipient providers always use the "to" and >> don't provide a way to do cc or bcc. >> >> Ok. Shall try it. > > >> tirsdag 6. september 2016 19.07.42 UTC+2 skrev slide følgende: >>>> >>>> You can set cc and bcc in emailext using prefixes cc: >>>> som...@something.com, bcc:som...@something.com >>>> >>> >>> >>> On another matter: Not sure why, Every time I try to reply on this >>> discussion, the post gets deleted. >>> >> >> Are you a member of the google group? If not, perhaps some moderating is >> happening. >> >> > > Must be some moderating. I am a member of the group. Never had any trouble > before. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/faa26264-51bd-4bb6-b6af-57ce190b9ba6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.