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?