- Documentation
Code Pipeline
User guide
Pipeline
Notification
Notification
CP supports pushing pipeline messages via site message, SMS, email, webhook, and Feishu bot, helping you quickly understand build and deploy results. You can select notification events and notification methods according to actual needs. This article introduces how to configure pipeline notification.
Prerequisites
- Channels for message notification have been configured.
- Site message: Volcano Engine root user can receive site messages by default. IAM users need to contact the Volcano Engine root user to grant the SiteMessageReadOnlyAccess policy to obtain permission to view site messages.
- To receive message notifications via SMS, confirm that the notification account has configured a security phone. Go to account management to view phone binding status.
- To receive message notifications via email, confirm that the notification account has configured a security email. Go to account management to view email binding status.
- Feishu bot: You need to add the Feishu bot in advance and prepare the bot's hookurl address. For specific operations, refer to Feishu developer guide.
- General format: You need to prepare the hookurl address for receiving notifications in advance.
Usage limits
To avoid frequent message flooding, site message, SMS, and email have restrictions on message receiving frequency. For details, see limit. Procedure
- Go to the notification tab of the pipeline.
- In the left navigation bar, select workspace.
- Click the target workspace name to enter the current workspace.
- In the left navigation bar, select pipeline to enter the pipeline page.
- In the pipeline list, select the target pipeline and click ... > edit to enter the process orchestration tab of the current pipeline.
- Click notification to switch to the notification tab.
- Turn on the notification switch and configure notification events, notification methods, and notification content. Supports multiple selections, with Start running and Site message checked by default.
- Template: The notification content templates for site message, SMS, Email, and Larkbot are as follows.
- Custom content: In addition to the system's built-in notification content templates, you can enter custom notification content in the text box, with a limit of 200 characters.
tip
Custom notification content can reference pipeline variables. For instructions on referencing, see Use variables. - After the pipeline notification configuration is completed, click Save in the lower right corner to save the pipeline configuration.
POST request example
The notification content in the general Webhook format is a POST request. Detailed examples are as follows:
tip
In the code, the Status field indicates the pipeline running state. For descriptions of each state, see Pipeline state. "ID": "6303544fa425e9b6b7fc****",
"PipelineName": "Java项目-dev",
"PipelineRunID": "6303544fa425e9b6b7fc****",
"URL": "https://console.volcengine.com/cp/workspace/****/pipeline/****/detail/record/****",
"AccountId": 210013****,
"Message": " 2022-08-22 18:02:55 开始运行",
Last updated: 2026.04.09 10:48:19