How to use "Email Reviewers"

322 views
Skip to first unread message

Gaurav Negi

unread,
Oct 27, 2016, 7:04:05 PM10/27/16
to repo-d...@googlegroups.com

Dear All,

   I see following documentation for "Email Reviewers"

Allow or deny sending email to change reviewers and watchers. This can be used to deny build bots from emailing reviewers and people who watch the change. Instead, only the authors of the change and those who starred it will be emailed. The allow rules are evaluated before deny rules, however the default is to allow emailing, if no explicit rule is matched.

https://gerrit-review.googlesource.com/Documentation/access-control.html#capability_emailReviewers


However on Gerrit UI., it is asking me to add the group name

Inline image 1

Inline image 2


Which Group I should be adding here? 

All I want is all Jenkins related emails to gerrit commit, I want to send only to the author, but not to the reviewers that are added in the commit. 

I am using Gerrit 2.12.5
Thanks
-Gaurav

Gaurav Negi

unread,
Oct 27, 2016, 8:20:24 PM10/27/16
to repo-d...@googlegroups.com
I can add group "Registered Users" and putting that to "DENY" for Email Reviewers.
But in that case, all emails are getting blocked, including one of adding one as reviewer. 

All I want is Jenkins automated verification emails only to go to author but not to reviewers.

Thanks
-Gaurav

Edwin Kempin

unread,
Oct 28, 2016, 3:51:43 AM10/28/16
to Gaurav Negi, repo-d...@googlegroups.com
Create a new group, add only the user that is used by Jenkins to the group and then deny Email Reviewers for that group.
 

I am using Gerrit 2.12.5
Thanks
-Gaurav

--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages