Help Center> CodeCheck> User Guide> Creating a Task> Creating a CodeHub Source Code Check Task
Updated on 2022-09-30 GMT+08:00

Creating a CodeHub Source Code Check Task

This section describes how to create a CodeHub check task. For details, see Preparations.

  • If you select Allow automated creation of a code check task when creating a cloud repository in CodeHub, you can view the check task of the repository in the CodeCheck task list after the repository is created. For operation details, see Creating a Cloud Repository.

  • This section how to create a task to check CodeHub code if you do not select Allow automated creation of a code check task when creating a cloud repository in CodeHub.

Procedure

  1. On the DevCloud homepage, click a target project name. The project details page is displayed.
  2. Choose Code > CodeCheck. The CodeCheck page is displayed.
  3. Click Create Task.

    On the page for creating a task, set the code source to CodeHub.

    If the CodeHubcode source is not available in the project, see Preparations.

  4. Click Create.

    After the creation is complete, go to the CodeCheck details page and run the task as required.