Create pipeline action in Azure DevOps package
- Updated: 2026/05/07
Create pipeline action in Azure DevOps package
The Create pipeline action in the Azure DevOps package enables you to create a new CI/CD pipeline within the Azure DevOps organization and project of the active session. The action uses a YAML file to define the pipeline and returns the pipeline ID on successful creation.
Settings
- Session name: The name of the active Azure DevOps session. Choose Session name and enter the name you specified when you opened the session, or choose Variable to use a session variable. The pipeline is created within the organization and project of the specified session.
- Pipeline Name: Specify a unique name for the new pipeline. Enter the value directly or use a string variable. The action fails if a pipeline with the same name already exists in the project.
- Repository Name: Specify the name of the Azure DevOps repository where the pipeline YAML file is stored, for example my-repo. Enter the value directly or use a string variable. The repository must exist within the organization and project of the session.
- Pipeline YAML: Specify the YAML definition used to create the
pipeline. Provide the YAML content using one of the following methods:
- Variable: Select a variable that contains the YAML content.
- Control Room file: Select a file from the Control Room.
- Desktop file: The Desktop file option allows you to upload a file from your local desktop.
- Assign output to a variable: Create a String variable to store the pipeline ID returned by Azure DevOps after the pipeline is created. Use this ID in subsequent actions, such as Run pipeline or Edit pipeline, to reference the new pipeline.