HomePhabricator

api: add new parameter to allow users to request email notifications

Description

api: add new parameter to allow users to request email notifications

The new API parameter allow users to request email notifications for their jobs.
For now it can take the following values:

  • onfailure --- only receive email notifications when a job fails
  • onfinish --- receive email notifications whenever a job finish
  • all --- receive all job notifications, finish, startup, etc
  • none --- the default, don't receive any email notifications

Bug: T286135
Signed-off-by: Arturo Borrero Gonzalez <aborrero@wikimedia.org>
Change-Id: Iffe4718c207768c15ca643d06afe1538cd9364b8

Details

Provenance
aborreroAuthored on Sep 13 2021, 10:06 AM
Parents
rCTJF70c476c5d47d: tests/cmd-checklist: refresh used container
Branches
Unknown
Tags
Unknown
References
HEAD -> main, refs/changes/09/720709/4
ChangeId
Iffe4718c207768c15ca643d06afe1538cd9364b8