Creating Custom Sources
Creating custom sources makes it easy for project members to reference custom tasks or stages in builds or release pipelines.
Prerequisites
-
An integrated code management tool is available, including tools deployed and integrated through the platform or integrated into the platform.
-
The platform administrator has assigned the target code repository to the current project, and the code repository contains configuration files for custom tasks or stages.
Procedure
-
In the left navigation bar, click Pipelines > Sources.
-
Click Create Source.
-
Configure the relevant parameters according to the following instructions.
Parameter Description Name Set a name for the source. When using DevOps for builds or release pipelines, project members can quickly filter the tasks or stages they want to reference by this name. Code Repositorie Fill in the code repository and branch corresponding to the source, as well as the path where the custom task or stage file is located. Available Scope Select the namespace(s) that can use this source. If you check Select All and Automatically allocated to new namespaces, the source will be automatically allocated to any new namespace created. -
Click Create.