Help Center/ CodeArts/ User Guide/ Preparations/ Creating Service Endpoints
Updated on 2025-08-15 GMT+08:00

Creating Service Endpoints

Scenario

A service endpoint is an extension of CodeArts. It enables CodeArts to connect to third-party services.

For example, when your CodeArts tasks need to obtain project source code from a third-party GitHub repository or need to run with Jenkins, you can create an endpoint to connect to each service.

The following table lists the endpoints supported by CodeArts.
Table 1 Service endpoints

Type

Scenario

Docker repository

Connect to a third-party Docker image repository. After the connection is successful, CodeArts Deploy can obtain Docker images from the repository.

Jenkins

Connect to a third-party Jenkins service. After the connection is successful, pipelines can call and execute the tasks in the Jenkins service.

Kubernetes

Connect to a Kubernetes cluster. After the connection is successful, you can deploy applications to the relevant Kubernetes cluster.

Nexus repository

Connect to a third-party private Maven repository. After the connection is successful, build tasks can obtain the file information of the repository.

Git repository

Connect to a third-party Git repository. After the connection is successful, CodeArts Pipeline and CodeArts Build can obtain the branch information of the repository.

GitHub

Connect to a GitHub account. After the connection is successful, CodeArts Pipeline and CodeArts Build can obtain the repository and branch information of the account.

IAM user

Delegate your AK/SK to an IAM user so that the user can obtain a token to perform tasks that require higher permissions.

CodeArts Repo HTTPS

Authorize CodeArts to download code, create branches, merge branches, and commit code in CodeArts Repo repositories. Currently, it is used for change-triggered pipelines and related extensions.

GitLab

Connect to a GitLab repository. After the connection is successful, CodeArts Pipeline and CodeArts Build can obtain the branch information of the repository.

Bitbucket

Connect to a Bitbucket account. After the connection is successful, CodeArts Pipeline and CodeArts Build can obtain the repository and branch information of the account.

AGC

Connect to AppGallery Connect (AGC) APIs. After the connection is successful, pipelines can use the service.

Prerequisites

  • You must have the DevMarket > Endpoint > create permission to create service endpoints. For details, see How Do I Check and Obtain Required Project Permissions?
  • The third-party service to connect can be accessed from the public network without restrictions.
  • Jenkins, Nexus repository, and GitHub service endpoints cannot be created in the LA-Santiago region.
  • Jenkins and Nexus repository service endpoints cannot be created in the TR-Istanbul area.
  • Bitbucket service endpoints can be created only in the AP-Singapore region.

Creating a Service Endpoint

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name to go to the project.
  3. In the navigation pane, choose Settings > General > Service Endpoints.
  4. Click Create Endpoint and select an endpoint type from the drop-down list.
  5. In the displayed dialog box, configure the service endpoint.

    The new endpoint is displayed.

The tables below describe the parameters for configuring different types of service endpoints.

Managing a Service Endpoint

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name to go to the project.
  3. In the navigation pane, choose Settings > General > Service Endpoints.
  4. Locate the service endpoint you want to manage, and perform the operations listed in the table below as needed.

    Table 13 Managing a service endpoint

    Operation

    Description

    Edit

    Click Edit. In the displayed dialog box, edit the parameters and click Save.

    The modified information is displayed.

    Delete

    WARNING:

    The deletion cannot be undone. Exercise caution when performing this operation.

    Click Delete. In the displayed dialog box, click OK.

    The deleted service endpoint is no longer displayed in the list.