When adding a trigger, it is possible to select
- Developers
- Culprits
- Suspects causing the build to begin failing
and some more options.
When using Git as SCM, how are those recipient lists exactly determined?
There is a good explanation at Email-ext plugin page:
Send the email to anyone who checked in code for the last build. The plugin will generate an email address based on the committer's id and an appended "default email suffix" from Jenkins's global configuration page. For instance, if a change was committed by someone with an id "first.last", and the default email suffix is "@somewhere.com", then an email will be sent to "first.last@somewhere.com"
Sends email to the list of users who committed a change since the last non-broken build till now. This list at least always include people who made changes in this build, but if the previous build was a failure it also includes the culprit list from there.
I guess the algorithm to determine a culprint's email is the same as for the developer.