[JIRA] (JENKINS-39108) Add recipient exclusion field to email notifications for broken builds

3 views
Skip to first unread message

nneul@neulinger.org (JIRA)

unread,
Oct 19, 2016, 9:23:01 AM10/19/16
to jenkinsc...@googlegroups.com
Nathan Neulinger created an issue
 
Jenkins / New Feature JENKINS-39108
Add recipient exclusion field to email notifications for broken builds
Issue Type: New Feature New Feature
Assignee: David van Laatum
Components: email-ext-plugin, mailer-plugin
Created: 2016/Oct/19 1:22 PM
Priority: Minor Minor
Reporter: Nathan Neulinger

There are cases in build setup where you want to have "notify people who broke the build" or equivalent selected, but certain people (or internal system committer users/etc.) should not be notified just because a developer broke the build.

In my case, it's cause we have a separate repository with CI utility scripts that is included in the checkouts. As it stands now, if a dev on the main project repo breaks something - any committer on the CI tools repo ALSO gets notifications of those failing builds in the mean time. Granted - they could be a build breaker, but in our environment, that's the .1% case.

Suggested implementation:

Exclude Recipients: [ ] - takes a comma separated list of email addresses
and/or
Exclude Patterns: [ multiline ] - takes a newline separated list of regexes or email addresses

Note - I've listed both mailer-plugin and ext-mail-plugin as they both have this functionality, but I expect that this issue will need to be split/cloned.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

slide.o.mix@gmail.com (JIRA)

unread,
Nov 7, 2016, 2:16:01 PM11/7/16
to jenkinsc...@googlegroups.com
Alex Earl commented on New Feature JENKINS-39108
 
Re: Add recipient exclusion field to email notifications for broken builds

You can already do this in the global config for email-ext. There is a place to put excluded committers.

nneul@neulinger.org (JIRA)

unread,
Nov 7, 2016, 4:34:01 PM11/7/16
to jenkinsc...@googlegroups.com

Unfortunately, that doesn't really help this use case. In most projects, I do want notifications, but for certain jobs - I don't want the notifications because they are virtually never because of my (or certain ops users) commits – specifically for those jobs.

slide.o.mix@gmail.com (JIRA)

unread,
Nov 7, 2016, 5:47:01 PM11/7/16
to jenkinsc...@googlegroups.com

slide.o.mix@gmail.com (JIRA)

unread,
Feb 10, 2020, 8:44:03 AM2/10/20
to jenkinsc...@googlegroups.com
Alex Earl assigned an issue to Alex Earl
 
Change By: Alex Earl
Assignee: David van Laatum Alex Earl
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

slide.o.mix@gmail.com (JIRA)

unread,
Feb 10, 2020, 8:44:03 AM2/10/20
to jenkinsc...@googlegroups.com
Alex Earl closed an issue as Won't Do
 

This can be achieved by using a pre-send script to filter email addresses.

Change By: Alex Earl
Status: Open Closed
Resolution: Won't Do
Reply all
Reply to author
Forward
0 new messages