- Documentation
Code Pipeline
User guide
Custom pipeline steps
Use custom steps
Custom pipeline steps
Use custom steps
Use custom steps
After custom steps are uploaded successfully, they can be used in the target pipeline. This article explains how to use custom steps in a pipeline.
Background Information
This article uses the YAML example from the process of developing Custom steps to demonstrate how to use Custom steps in a pipeline and how to use pipeline variables within a step, showcasing more advanced usage scenarios. Prerequisites
Custom steps have been created. For detailed instructions, see Custom steps. Procedure
Step 1: Add custom steps
Create or edit a pipeline, add the current custom step, and fill in the step parameters.
- In the left navigation bar, select workspace. On the workspace page, click the name of the target workspace to enter the current workspace.
- Create or edit a pipeline, then go to the pipeline process orchestration page.
- Click add task to enter the task editing panel.
- Click Add step, select Custom steps, and then select the custom step created in the prerequisites.
- Fill in the parameters for the current step as required. After completing the form, click OK.
- Click Save to save the pipeline configuration.
Step 2: Run the pipeline
- In the pipeline list, select the pipeline created in Step 1, and click Run in the Actions column. The Run Pipeline dialog box will appear.
- Set the runtime value of dynamic variable b to 1000 in this example.
- Operation instructions: Optional. This example is left blank.
- Click OK to start the pipeline. The system redirects to the details page for the current pipeline.
Result validation
Based on the current custom step YAML example and step parameter configuration, the following information will be output:
View the pipeline run results. The log information shows that the results meet expectations.
Last updated: 2025.09.10 17:37:26