In what parameter?
emailext subject: SUBJECT, body: CONTENT, recipientProviders: [[$class:
'CulpritsRecipientProvider'],[$class: 'DevelopersRecipientProvider'], [
$class: 'UpstreamComitterRecipientProvider']], to: ""
With the parameter to: "cc:${CC}, bcc:${BCC}",
or with recipientProviders?
fina
Anyhow. Why does something return nothing?
final def RECIPIENTS = emailextrecipients([
[$class: 'DevelopersRecipientProvider'],
[$class: 'CulpritsRecipientProvider'],
[$class: 'UpstreamComitterRecipientProvider'],
[$class: 'FirstFailingBuildSuspectsRecipientProvider
fredag 9. september 2016 14.44.33 UTC+2 skrev slide følgende:
>
>
> On Thu, Sep 8, 2016 at 11:25 PM Sverre Moe > 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
On Thu, Sep 8, 2016 at 11:25 PM Sverre Moe 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.
> tirsdag 6. september 2016 19.07.42 UTC+2 skrev slide følgende:
>>
>> You can set
In what parameter, to or recipientProviders?
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
discussi
You can set cc and bcc in emailext using prefixes cc:some...@something.com,
bcc:someonee...@something.com
On Tue, Sep 6, 2016 at 9:16 AM Sverre Moe wrote:
> I followed the Pipeline examples for the email-ext plugin:
>
> https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin
I followed the Pipeline examples for email-ext which has 3 examples and
mailer one among them.
https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-PipelineExamples
Problem is that only mail allows me to set cc and bcc.
fredag 2. september 2016 16.13.03 UTC+2 skrev slide
I followed the Pipeline examples for the email-ext plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-PipelineExamples
There are 3 examples how to use emailextrecipients
Problem is only mail allows me to set the cc and bcc.
fredag 2. september 2016 16.13.03 UTC+2
Not sure what happens to. I have tried 2 times by now to reply and "2
messages has been deleted".
fredag 2. september 2016 16.13.03 UTC+2 skrev slide følgende:
>
> mail is using the mailer plugin, if you want to use email-ext, you need to
> use emailext (see https://jenkins.io/doc/pipeline/steps
I tried to test that theory by getting emailextrecipients right after
checkout scm within my Checkout stage.
However it gives me no recipients.
[Pipeline] emailextrecipients[Pipeline] emailextJob type does not allow token
replacement.
Job type does not allow token replacement.
Job type does not
Must run emailext within a heavyweight executor.
node {
emailext subject: SUBJECT, body: CONTENT, cc: "devops",
recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class:
'DevelopersRecipientProvider'], [$class: 'UpstreamComitterRecipientProvider'
]]
}
While the standard mail can r
It looks like email-ext has support for CC and BCC
https://github.com/jenkinsci/email-ext-plugin/commit/4aacabf9b9fa9be326ebc362519e2f5d1bbb43fb
However it is not present in the Pipeline syntax.
mandag 5. september 2016 08.40.37 UTC+2 skrev Sverre Moe følgende:
>
> It would seem that the step emai
It would seem that the step emailextrecipients would give a list of
recipients so using Mailer should work.
final def RECIPIENTS = emailextrecipients([
[$class: 'DevelopersRecipientProvider'],
[$class: 'CulpritsRecipientProvider'],
[$class: 'UpstreamComitterRecipientProvider']
])
ste
I followed the Pipeline examples for the email-ext plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-PipelineExamples
There are 3 examples how to use emailextrecipients
Problem is only mail allows me to set the cc and bcc.
fredag 2. september 2016 10.36.38 UTC+2
mail is using the mailer plugin, if you want to use email-ext, you need to
use emailext (see https://jenkins.io/doc/pipeline/steps/email-ext/).
On Fri, Sep 2, 2016 at 1:36 AM Sverre Moe wrote:
> There seems to be a lottery of some sort what I get from emailextrecipients
>
> I expect to get the a
15 matches
Mail list logo