Help Center> CodeArts Check> User Guide> Creating a Task> Creating a Task to Check Code from Git
Updated on 2024-04-16 GMT+08:00

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.

  1. On the Check page, click Create Task.
  2. 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.

  3. 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.