Determine "Suspects causing unit tests to fail" when UTs in separate job from the Git pull

7 views
Skip to first unread message

Steve K

unread,
Jul 18, 2019, 11:26:12 AM7/18/19
to Jenkins Users
Hello,

We have a fairly typical chain (pipeline) of jobs [ Build (including the Git pull)] --> [Unit Tests].
Using "Editable E-Mail Notifications", I'd like to take advantage of the calculated recipient list "Suspects causing unit tests to fail".
When I select "Suspects causing unit tests to fail" as one of the groups to send notification to, however, the "suspects" are not added to the list.
I am guessing that the E-mail plugin is lacking information from Git. 
The build job is configured to "Pass-through Git Commit That Was Built" to the triggered UT job.  That does not appear to be sufficient however.
In the UT job, I can select "UPSTREAM_COMMITTERS" for notification and that seems to work (regardless of whether or not the triggering build job is configured to "Pass-through Git Commit That Was Built".

Does anyone know how I can make this work?

Thanks in advance.

Steve K.


Reply all
Reply to author
Forward
0 new messages