Quick Start

更新时间:
复制 MD 格式

This topic describes how to get started with Cloud Build Service using the console.

Main flow

The workflow for using Cloud Build Service is as follows.image

Prerequisites

  • You have registered and logged in to an Alibaba Cloud account, and completed identity verification. For more information, see Account Management.

  • You have activated the EMAS service. For more information, see Quick Start.

Limits

  • Each account can run a maximum of 3 pipeline instances concurrently. Additional instances are queued.

Procedure

  1. Add a project and an application. For more information, see Quick Start.

  2. Configure the application. Before you build or publish an application using Cloud Build Service, you must configure the development environment. This includes adding code repository permissions, configuring certificates, managing personnel, and configuring code scanning rules.

    Operation

    Description

    Configure a code repository

    Grant permissions to a code repository to associate it with your application. This lets you perform operations, such as build and publish, based on the source code from the specified repository.

    Configure a certificate (Android)

    Upload or manage the certificates that are used by the application.

    Configure personnel

    Add or manage application administrators.

    Configure code scanning rules (to be updated)

    Create and manage rules for code scanning.

  3. (Optional) Create a pipeline. After you configure the application, the system automatically creates a default build pipeline.

    Operation

    Description

    Create a pipeline

    Create a new build package pipeline or deployment package pipeline.

    Clone a pipeline

    Copy an existing build pipeline and its configuration to create a new build pipeline.

  4. Configure the pipeline. You can configure the default pipeline or a custom pipeline that you created.

    Operation

    Description

    Configure a source code trigger

    In the trigger stage, set the trigger method to source code trigger.

    Configure an API trigger

    In the trigger stage, set the trigger method to API trigger.

    Customize the build application stage

    In the build application stage, configure build tasks.

    Configure app compatibility test (Android)

    In the app compatibility test stage, configure test tasks.

    Configure DingTalk group notifications

    In the pipeline run result notification stage, configure DingTalk group notifications.

    Configure a webhook for the code repository

    In the code repository, configure the webhook URL for Cloud Build.

    Customize a pipeline stage

    Add a custom stage to the pipeline template.

  5. Manage the pipeline. Run the pipeline and view the build artifacts.

    Operation

    Description

    Run a pipeline

    Run the configured pipeline.

    Important

    Each account can run a maximum of 3 pipeline instances at the same time. Additional instances are queued.

    View build logs

    View the build logs after the pipeline runs.

    Download build artifacts

    Download the build artifacts after the pipeline runs.

    Delete a pipeline

    Delete pipelines that are no longer in use.

    Important

    This operation deletes the execution history and build artifacts of the pipeline. This action cannot be undone. Proceed with caution.

View application overview

On the Overview tab for a specific application, you can view its basic information, Build Success Rate, and Number of Builds within a specified time range.

Technical support

Cloud Build Service provides technical support through a DingTalk group. For more information, see Contact us.