osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/38320?usp=email )
Change subject: jobs/master-builds: add param EMAIL_NOTIFICATIONS ......................................................................
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: