How do I send an email message to upstream senders if the downlink job is not running?

We have 2 projects in Jenkins. 1. Project-A 2. Tests

Tests are project work for Project-A. Currently, if any change in Project-A breaks Tests, there is no email sent to the criminals (those who made the change to Project-A).

I want to send mail to all these committers upwards if my downstream job (Tests module) fails. How can we do this?

thank

+3


source to share


2 answers


+1


source


Since the question was asked back in 2013, the Jenkins email extension plugin has been updated to support the addition of a "upstream committer recipient provider". This feature was added in version 2.39 (November 2014)

Plugin link is here: https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin



This function is accessed by adding the Post-build Editable Email Notification action to the Tests job and then selecting additional settings. Upstream Communicators will appear as an option in the Submit section.

+3


source







All Articles