Check
Call the Check extension to use CodeArts Check capabilities.
Adding the Extension with GUI
Add the Check extension when you orchestrate a pipeline. Set parameters as shown in Table 1.
Parameter |
Description |
---|---|
Name |
Extension name, which can be customized.
|
Select Task |
Select a code check task whose code source is the same repository as the pipeline you are configuring. |
Repository |
Select the corresponding code repository. |
Check Mode |
Code check mode. You can set check modes as needed to improve the check efficiency. |
Adding the Extension with YAML
Add the Check extension when you orchestrate a pipeline. Configure the YAML syntax as follows:
- Check
Call the Check extension to use CodeArts Check capabilities.
uses: CodeArtsCheck with: jobId: 43885d46e13d4bf583d3a648e9b39d1e checkMode: full|push_inc_full||push_multi_inc_full
- jobId: ID of a code check task.
- checkMode: Check mode.
- full: Checks all code.
- push_inc_full: Checks all files changed in this code commit.
- push_multi_inc_full: Checks all files changed between this code commit and the last successful code commit.
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