Enabling and Disabling Notifications
You can set notification modes for the code check task event types as required.
- Event type: check task completed, task deletion, and quality gate failure
- Notification mode: event notice and email
For example, when the code gate failed, you can configure the notification modes, recipient roles, and custom members. In this way, a notification is sent to the task executor, configured recipient roles, and custom members. Otherwise, a notification is only sent to the task executor.
The notification can be configured at the project level or task level. The navigation paths are as follows:
- Project level: On the project details page, choose Code > Check > Config Center > Notifications.
- Task level: Go to the check details page and choose . This section uses the task-level notification settings as an example to describe how to enable and disable notifications.
Procedure
- Go to the Task page. In the task list, click a task name.
- On the displayed View Task Details page, click Settings > Notifications.
- Enable or disable the notification of an event type as required.
- If Notify is enabled, event notices will be sent to specific members of current project.
- If Email is enabled, emails will be sent to specific members of current project.