Help Center/ CodeArts Build/ User Guide/ Old User Guide/ Editing, Deleting, Cloning, Favoriting, and Stopping a Build Task
Updated on 2024-11-19 GMT+08:00

Editing, Deleting, Cloning, Favoriting, and Stopping a Build Task

Ensure you have the required permissions before you perform operations on build tasks.

Editing a Build Task

  1. Log in to the CodeArts Build homepage.
  2. Search for the target build task.
  3. In the row of the target build task, click and select Edit from the drop-down list.
    • On the Basic Information tab page, configure the task name, code source, code repository, branch, and task description.
    • On the Build Actions tab page, configure build actions and parameters.
    • On the Parameters tab page, customize parameters for running the build task.
    • On the Schedule tab page, configure continuous integration (the triggering event) and scheduled execution.
    • On the Change History tab page, view the change history of the build task.
    • On the Permissions tab page, configure permissions for different roles.
    • On the Notifications tab page, configure notifications for different types of events (including Build succeeded, Build failed, Task deleted, Task configurations updated, and Task disabled).
  4. Edit the information on a tab page, and click Save and Run > Save.

Deleting the Build Task

  1. Search for the target build task.
  2. Click in the row of the build task and choose Delete from the drop-down list. Exercise caution when performing this operation.

You can view the deleted build task in the recycle bin.

Cloning the Build Task

  1. Search for the target build task.
  2. Click in the row of the build task and select Clone from the drop-down list.
  3. On the displayed page, modify the task information as required and click Clone.

Cloning a task will duplicate all of its permissions. The new task has identical access control settings as the original.

Favoriting the Build Task

  1. Search for the target build task.
  2. Move the cursor to the row of the build task and click . If the color of the icon changes, the task is successfully favorited.
  3. (Optional) Click to unfavorite the task.
  • After you favorite a build task, the task is displayed on the top of the task list when you refresh the page or access the task list next time. If you favorite many build tasks, the tasks are sorted by task creation time in descending order.
  • If you favorite a task that is not created by yourself, you can obtain the corresponding notification based on the notification event type set for the task.

Stopping a Build Task

  1. Search for the target build task.
  2. Click the name of a running build task. The Build History page is displayed.
  3. Click the Build ID.
  4. On the displayed page, click Stop in the upper right corner.