Issue Type: New Feature New Feature
Assignee: Unassigned
Components: mailer-plugin
Created: 17/Dec/14 12:10 AM
Description:

You can already use mailer-plugin from a flow:

step $class: 'hudson.tasks.Mailer', recipients: '...'

However this just runs the canned functionality of Jenkins build mail notification: mail is sent only for unstable/failed builds, with a predetermined subject, etc. (Use catchError to send even after an earlier step throws an error.)

email-ext-plugin integration would add a bunch more options, but still this would be focused on picking up existing behaviors related to build status: different stability triggers, changelogs, etc.

For some cases you would prefer to unconditionally send a message with a given subject and a given body to a given list of recipients and that is that. This is best done with a special step:

mail to: '...', cc: '...', subject: '...', body: '...'

For example, you could do this immediately before running an input step to notify a team that something is waiting.

Project: Jenkins
Labels: workflow
Priority: Major Major
Reporter: Jesse Glick
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to