Creating a Task to Check Code from Git
Prerequisite
You have completed the preparations described in Preparing.
Procedure
The following example describes how to create a code check task by accessing the CodeArts Check page from a project.
- On the Check page, click Create Task.
- Set parameters on the displayed page.
Table 1 Parameters Parameter
Description
Project
Project that the task belongs to. Retain the default project.
Code source
Select Git. For code hosted on other services, you can use a Git connection to pull the code.
Task name
Customize your task name.
Endpoint
Select the service endpoint created in Preparations.
Repository
This parameter is automatically set based on the selected endpoint.
Branch
Enter the code branch to be checked.
Language
Select the code language to be checked.
- Click Create Task. On the displayed page, click Start Check to run the check task. After the check task is complete, view the check results.
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