Updated on 2025-08-13 GMT+08:00

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.

Table 1 Parameter description

Parameter

Description

Name

Extension name, which can be customized.

  • Enter only letters, digits, hyphens (-), underscores (_), commas (,), semicolons (;), colons (:), periods (.), slashes (/), parentheses (), and spaces.
  • Enter 1 to 128 characters.

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.