Help Center/ CodeArts Build/ User Guide/ Running a Build Task
Updated on 2026-02-11 GMT+08:00

Running a Build Task

A build task can be triggered in the following ways:

  • Run a single build task on the CodeArts Build page.
  • Trigger task execution upon code commits to a CodeArts Repo repository. For details, see Continuous Integration.
  • Execute the task on a scheduled basis. Alternatively, trigger task execution at specified time, but only if the code has changed since the last build. For details, see Configuring Scheduled Execution.
  • Trigger a build task by running a pipeline.

This section describes how to run a single build task on the CodeArts Build page.

Prerequisites

You have created a build task and you have permissions to run or disable the build task.

Procedure

  1. Access the CodeArts Build homepage from the project page.
  2. Search for the target build task on the CodeArts Build homepage and click to run the task.
    If runtime parameters have been configured for the build task and are referenced, the parameter setting dialog box is displayed. Set the parameters as required and click OK.
  3. The following example represents an Ant build.
    • The page shown in Figure 1 displays a successful run of the task.
      Figure 1 Build success
    • If the task fails, troubleshoot the issue by reviewing the prompt or analyzing the logs.
      Figure 2 Build failure

Disabling a Task

  1. Search for the target task.
  2. Click in the row that contains build task and choose Disable from the drop-down list.
  • Running build tasks cannot be disabled or deleted.
  • After the build task is disabled, Disabled is displayed next to the build task name. To run the build task, click in the row that contains the build task and choose Enable from the drop-down list.

Build FAQs

For questions about build task execution, see General FAQs.