This can be done using the log parser and extended email plugins as follows:

1. Have your promotion execute an external script
2. Have the script, upon failure, print out an error message
3. Configure parsing rules for the log parser to recognize the error message and flag it as an error
4. Configure the extended email plugin to send the "promotion failed" email using a FAIL trigger

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