osmith submitted this change.

View Change

Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve
jobs/osmocom-release-tarballs: add email parameter

Make it easy to disable emails when testing that releases for a newly
added project work as expected.

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

diff --git a/jobs/osmocom-release-tarballs.yml b/jobs/osmocom-release-tarballs.yml
index 4b3c8dc..1f5e9e2 100644
--- a/jobs/osmocom-release-tarballs.yml
+++ b/jobs/osmocom-release-tarballs.yml
@@ -23,6 +23,10 @@
description: |
osmo-ci.git branch with scripts/tarballs/publish-tarballs-for-tags.sh
default: 'master'
+ - string:
+ name: EMAIL_NOTIFICATIONS
+ description: For failed build notifications, set to empty to disable
+ default: 'jenkins-notifications@lists.osmocom.org'
builders:
- shell: |
PUBLISH=1 scripts/tarballs/publish-tarballs-for-tags.sh
@@ -39,7 +43,7 @@
publishers:
- email:
notify-every-unstable-build: true
- recipients: 'jenkins-notifications@lists.osmocom.org'
+ recipients: '$EMAIL_NOTIFICATIONS'
wrappers:
- ssh-agent-credentials:
users:

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

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