Open alexwhitmore opened 1 year 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: | alexwhitmore |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `customer-reported`, `Installation`, `DevOps`, `Pipelines`, `Auto-Assign` |
Milestone: | Backlog |
Adding the Service team to look at the devops issue.
@v-anvashist, @V-hmusukula Could you please look into this issue ? Thanks in advance.
@alexwhitmore I had this same problem and noticed that the docs say that --service-connection
is the "Id of the Service connection created for the repository for GitHub repository."
The user experience is misleading (because of the inconsistency with the interactive prompt), but using the service connection GUID enabled me to use the command successfully in a DevOps pipeline.
Related command
Describe the bug When running the
az pipelines create
command listed above without the service connection parameter, I am presented with:When I type in 2 and press enter, the command finishes and the pipeline is now created in Azure DevOps.
However, I would like to run this command as part of a script that is non-interactive which means I need to use the
--service-connection
parameter. When I run the full command listed above in "Related command", I am presented with:Could not create service hooks subscription. The repository does not reference a service connection.
If the pipeline already exists I am presented with:
Pipeline with name <pipeline name given> already exists.
To Reproduce With the source code in GitHub, and pipelines in Azure Devops, run
az pipelines create
with the same parameters used.Expected behavior I would expect:
Environment summary