Declarative pipeline Mailer sendToIndividuals does not appear to work

71 views
Skip to first unread message

Jon Dufresne

unread,
Mar 24, 2017, 4:11:42 PM3/24/17
to jenkins...@googlegroups.com
I'm using a Jenkinsfile using the declarative syntax. In it is the blurb:


  post {
    failure {
      step([$class: 'Mailer', recipients: 'c...@example.com', sendToIndividuals: true])
    }
  }

When a build breaks, c...@example.com is correctly emailed. However, the individuals that broke the build are not. I thought adding the argument sendToIndividuals would solve this, but it doesn't appear to work. Is there some other step I'm expected to take to make this work? Any ideas?

Is this possibly a bug?

Thanks,
Jon

Jon Dufresne

unread,
Mar 31, 2017, 12:37:26 PM3/31/17
to jenkins...@googlegroups.com
I guess this seems like a bug. Filed: https://issues.jenkins-ci.org/browse/JENKINS-43202
Reply all
Reply to author
Forward
0 new messages