Configuring Quality Gate
Set the threshold based on the quality requirements to check whether the project is ready for production.
Quality gate can be set at the tenant, project, and task levels in a descending order of precedence. The navigation paths are as follows:
- Tenant level: Go to the CodeArts Check homepage, and choose Config Center. The Quality Gate details are displayed by default.
- Project level: Go to the project details page, and choose Code > Check > Config Center > Quality Gate.
- Task level: Go to the CodeArts Check details page, and choose . This section uses a task-level quality gate as an example to describe how to configure a quality gate.
Notification settings are supported at the project level and task level.
Procedure
- Go to the task page. In the task list, click a task name.
- On the displayed View Task Details page, click Settings > Quality Gate.
- In the Quality Gate area, enable gate items and set thresholds based on quality requirements.
- Click Save.
You can click Start Check and view the check results.
If the issues of a gate item exceed the corresponding thresholds for a gate, Failed is displayed in the Task-level Gate Result area of the Overview tab page.
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