Open CMihalcik opened 2 years ago
route to CXP team
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @v-anvashist, @V-hmusukula.
Author: | CMihalcik |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `customer-reported`, `DevOps`, `Pipelines`, `Auto-Assign` |
Milestone: | - |
Attempting to create a pipeline in one project using a yaml file in a git repo in another project fails.
Prerequisites
Two projects in the same organization with AzureDevOps git repos with the same name,
Steps to Reproduce
Note that
$yamlRepo
refers to a repo in sourceProject while$project
refers to targetProjectRun
and then
az pipelines show --name $pipelineName --folder-path $pipelineFolder --project $project --query 'repository.url'
Expected
The URL output from the last command will match
$yamlRepo
Observed
The URL output from the last command points at aRepo in targetProject. Removing
--skip-first-run true
will causeaz pipeline create
to fail with a validation error when trying to first run the newly created pipeline.Environment