Issue 3418: only send email to reviewer after jenkins build (and test passed)
Status:  New
Owner: ----
Reported by michelle...@gmail.com, Jun 9, 2015
hi

does anyone know if there is a configuration in gerrit where only after the build (jenkins) + test passed before sending email to reviewer?

thanks for the help


Jun 9, 2015
Project Member #1 edwin.ke...@gmail.com
There is no such option.
Jun 13, 2015
#2 tw201...@gmail.com
Configure that in Jenkins in the Gerrit Trigger plugin configuration. On the global Gerrit Trigger plugin configuration in Jenkins, click "Edit" for your Gerrit server.
Under "Gerrit Reporting Values", click "Advanced...", and adapt the "Gerrit Verified Commands" as you like. For instance using the option "--notify NONE" will make Jenkins comment in Gerrit without sending e-mails.

For other possible values of --notify, see https://gerrit-review.googlesource.com/Documentation/cmd-review.html .