Webhook Settings
Configuring Webhook Settings
Developers can configure URLs of third-party systems on the Webhook page and subscribe to events such as branch push and tag push of CodeArts Repo based on project requirements. When a subscription event occurs, you can use a webhook to send a POST request to the URL of a third-party system to trigger operations related to your system (third-party system), such as popping up a notification window, building or updating images, or performing deployment.
To configure webhooks, you can choose
on the repository details page.The settings take effect only for the repository configured. Members within the repo can view this page.
Parameter |
Description |
---|---|
Name |
Custom name. |
Description |
Description of the webhook. |
URL |
Mandatory. Provided by the third-party CI/CD system. |
Token Type |
Used for webhook interface authentication of third-party services. The options are as follows:
|
Token |
Used for third-party CI/CD system authentication. The authentication information is stored in the HTTP request header. |
Trigger Events |
The system can subscribe to the following events:
|
- A maximum of 20 webhooks can be created for a repository.
- You can configure a token when setting up a webhook. The token will be associated with the webhook URL and sent to you in the X-Repo-Token header.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot