Help Center> CodeArts Build> User Guide> Managing and Configuring a Build Task> Editing, Deleting, Copying, Favoriting, and Stopping a Build Task
Updated on 2024-05-30 GMT+08:00

Editing, Deleting, Copying, 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 choose Edit from the drop-down list.
    • On the Basic Information tab page, configure the task name, code source, source code repository, branch, and task description.
    • On the Build Actions tab page, modify build steps 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 task event type notification information (Build succeeded, Build failed, Task deleted, Task configurations updated, and Task disabled).
  4. Edit the information on a tab page, and click 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 choose Clone from the drop-down list.
  3. On the page that is displayed, modify the task information and click Clone.

Cloning a task retains the permission matrix of the original task.

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