Help Center/ ServiceStage/ User Guide/ Continuous Delivery/ Managing Repository Authorization
Updated on 2025-07-10 GMT+08:00

Managing Repository Authorization

Creating Repository Authorization

  1. Log in to ServiceStage.
  2. Choose Continuous Delivery > Repository Authorization.
  3. Click Create Authorization and configure authorization information by referring to the following table. Parameters marked with an asterisk (*) are mandatory.

    Table 1 Authorization information

    Parameter

    Description

    *Name

    Authorization name, which cannot be changed after being created.

    Enter 4 to 63 characters. Only use letters, digits, periods (.), underscores (_), and hyphens (-).

    *Repository Authorization

    The following supported official repository types vary depending on regions:

    • GitHub (https://github.com)

      Authorization mode: OAuth or private token.

    • Bitbucket (https://bitbucket.org)

      Authorization mode: OAuth or private Bitbucket.

    • GitLab (https://gitlab.com)

      Authorization mode: OAuth or private token.

      ServiceStage allows you to access official and private GitLab source code repositories using private tokens.

      • Visit the official GitLab source code repository, obtain and enter a private token as prompted, and select Verify token (access the repository address from the public network).
      • Visit the private GitLab source code repository, enter the correct private GitLab source code repository address and private token as prompted. You do not need to select Verify token (access the repository address from the public network).

  4. Click Ok.

Re-authorizing a Repository

  1. Log in to ServiceStage.
  2. Choose Continuous Delivery > Repository Authorization.
  3. Click Re-authorize in the Operation column of the target repository authorization and reconfigure the authorization information based on the repository type by referring to the following table.

    Table 2 Authorization information

    Parameter

    Description

    Method

    Reset the authorization mode based on the authorization repository type.

    The following supported official repository types vary depending on regions:

    • GitHub (https://github.com)

      Authorization mode: OAuth or private token.

    • Bitbucket (https://bitbucket.org)

      Authorization mode: OAuth or private Bitbucket.

    • GitLab (https://gitlab.com)

      Authorization mode: OAuth or private token.

      ServiceStage allows you to access official and private GitLab source code repositories using private tokens.

      • Visit the official GitLab source code repository, obtain and enter a private token as prompted, and select Verify token (access the repository address from the public network).
      • Visit the private GitLab source code repository, enter the correct private GitLab source code repository address and private token as prompted. You do not need to select Verify token (access the repository address from the public network).

  4. Complete the authorization as prompted.
  5. Click OK.

Deleting Repository Authorization

  1. Log in to ServiceStage.
  2. Choose Continuous Delivery > Repository Authorization.

    • Batch deletion: Select the target repository authorizations and click Delete in the upper left corner.
    • Single deletion: Click Delete in the Operation column of the target repository authorization.

  3. Enter DELETE.
  4. Click OK.