Help Center/ CodeArts Check/ User Guide/ Configuring a Task/ Configuring a Custom Environment
Updated on 2024-10-10 GMT+08:00

Configuring a Custom Environment

If a common build environment does not have the required dependency packages and tools when you use CodeArts Check, you can use the base image provided by a custom build environment to execute the code check task.

Prerequisite

You have pushed the custom environment to the image repository.

Configuring a Custom Image

  1. Access CodeArts Check through a project.
  2. Go to the task page. In the task list, click a task name.
  3. On the task details page, choose Settings > Custom Environment.
  4. In the Custom Image area, enter the content in the format of Domain name/Organization name/Image repository name:Tag name or an image link of SoftWare Repository for Container (SWR).
  5. Click Save.