osmith submitted this change.

View Change

Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve
jobs/osmocom-obs: add EMAIL_NOTIFICATIONS argument

Change-Id: I5009f7b722c7455ee6dfd25a6b5370929c9bc469
---
M jobs/osmocom-obs.yml
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/jobs/osmocom-obs.yml b/jobs/osmocom-obs.yml
index 39fa5fb..fd11055 100644
--- a/jobs/osmocom-obs.yml
+++ b/jobs/osmocom-obs.yml
@@ -44,6 +44,10 @@
name: BRANCH
description: osmo-ci.git branch
default: 'refs/remotes/origin/master'
+ - string:
+ name: EMAIL_NOTIFICATIONS
+ description: For failed job notifications, set to empty to disable
+ default: 'jenkins-notifications@lists.osmocom.org'
builders:
- shell: |
export PYTHONUNBUFFERED=1
@@ -72,6 +76,6 @@
publishers:
- email:
notify-every-unstable-build: true
- recipients: 'jenkins-notifications@lists.osmocom.org'
+ recipients: '$EMAIL_NOTIFICATIONS'

# vim: expandtab tabstop=2 shiftwidth=2

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

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I5009f7b722c7455ee6dfd25a6b5370929c9bc469
Gerrit-Change-Number: 40425
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>