All Products
Search
Document Center

Apsara Devops:Stages

Last Updated:Mar 24, 2025

Stages: A pipeline stage can consist of one or more jobs. Multiple stages execute in sequential order.

Example

Below is an example configuration for a stage:

stages:
  build_stage:
    name: Build Stage
    jobs:
      build_job: 

Detailed Explanation

stages

Refers to the pipeline stages, which are combinations of one or more jobs.

stages.<stage_id>

Required. The stage id, which is used to identify the stage. The stage_id can only contain letters, numbers, and _, and must start with a letter. The length limit is 30 characters.

stages.<stage_id>.name

If not provided, the value is the same as stage_id. The stage display name. The length limit is 30 characters.

stages.<stage_id>.jobs

Refers to the pipeline jobs. A pipeline job can either be a combination of multiple steps that share a workspace and collaborate to complete a designated job, or a call to a component that executes a specified job, with component tasks supporting additional operations like retries and skips. For more details, refer to "jobs".