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

Creating a Task to Check Code from Repo

Prerequisite

You have completed the preparations described in Preparing.

  • If you select Automatically create Check task when creating a cloud repository in CodeArts Repo, you can view the check task of the repository in the code check task list after the repository is created.
  • This section describes how to create a task to check code from CodeArts Repo, if you do not select Automatically create Check task when creating a cloud repository in CodeArts Repo.

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 Repo to check code from CodeArts Repo.

    Task name

    Customize your task name.

    Repository

    Select the code repository to be checked.

    Branch

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