osmith has uploaded this change for review.

View Change

jobs/master-builds: add param EMAIL_NOTIFICATIONS

Make it easy to disable mail notifications if running with a different
branch than master.

Change-Id: Ia8fa57f1efd04684f08db4377c42358c534faff9
---
M jobs/master-builds.yml
1 file changed, 5 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/20/38320/1
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index ee6947f..f711d4d 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -635,6 +635,10 @@
name: BRANCH
description: git branch
default: '{obj:branch}'
+ - string:
+ name: EMAIL_NOTIFICATIONS
+ description: For failed build notifications, set to empty to disable
+ default: '{obj:email}'

scm:
- git:
@@ -675,7 +679,7 @@
- trigger:
project: 'Osmocom_OBS_master'
- email:
- recipients: '{obj:email}'
+ recipients: '$EMAIL_NOTIFICATIONS'
send-to-individuals: true
wrappers:
- ssh-agent-credentials:

To view, visit change 38320. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ia8fa57f1efd04684f08db4377c42358c534faff9
Gerrit-Change-Number: 38320
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>