osmith submitted this change.
jobs/octsim_osmo-ccid-firmware: add email param
Allow configuring the email notifications before starting a job, so no
notifications can be set while testing changes to the jenkins job. Add
jenkins-notifications@lists.osmocom.org while at it, as we have it with
almost all other jobs.
Change-Id: Ifcd580873479fc259119139d47447ba0e21b21f4
---
M jobs/octsim_osmo-ccid-firmware.yml
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/jobs/octsim_osmo-ccid-firmware.yml b/jobs/octsim_osmo-ccid-firmware.yml
index 599acc1..e64e7ea 100644
--- a/jobs/octsim_osmo-ccid-firmware.yml
+++ b/jobs/octsim_osmo-ccid-firmware.yml
@@ -7,6 +7,11 @@
- octsimtest
block-downstream: false
block-upstream: false
+ parameters:
+ - string:
+ name: EMAIL_NOTIFICATIONS
+ description: For failed build notifications, set to empty to disable
+ default: 'jenkins-notifications@lists.osmocom.org jsteiger@sysmocom.de acouzens@sysmocom.de'
builders:
- shell: |
cd ./tests
@@ -43,7 +48,7 @@
publishers:
- email:
notify-every-unstable-build: true
- recipients: jsteiger@sysmocom.de acouzens@sysmocom.de
+ recipients: '$EMAIL_NOTIFICATIONS'
send-to-individuals: true
retry-count: '3'
triggers:
To view, visit change 42607. To unsubscribe, or for help writing mail filters, visit settings.