Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer feedback | az pipelines create | create cli notes for "Azure Repo" does not work #8101

Open
dbradish-microsoft opened this issue Jul 24, 2024 · 3 comments
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. DevOps Pipelines Service Attention This issue is responsible by Azure service team.

Comments

@dbradish-microsoft
Copy link
Contributor

dbradish-microsoft commented Jul 24, 2024

Describe the bug

This GitHub issue is being moved from azure-docs-cli 4481 as the feedback is on autogenerated reference content controlled by source code.

Suggestion to engineering: Use the long-summary property to provide more information on "parameter pairs" or "this parameter is required when ...", and parameter value formatting.


Type of issue
Code doesn't work

Feedback
all comments are for documentation on https://learn.microsoft.com/en-us/cli/azure/pipelines , in specific notes related to "az pipelines create" for "Azure Repo" did not work for me.

there are more "required" parameters than just --name, I suppose organization & project are mandatory. i was asked to explicitly specify by the azcli
"--detect true" did not work for me.
my command "az pipelines create --name 'pipeline_via_azcli' --description 'az pipeline via cli' --repository myrepo --branch main --repository-type tfsgit --organization https://dev.azure.com/myorg --project myproject --skip-first-run true" errors with "The controller for path '/terraform/_apis/pipelines/Templates/recommendedtemplates' was not found or does not implement IController. Operation returned a 404 status code." Note: my other repos in the same project have main branch so using that instead of master as per documentation
above command did not work when the repo was empty nor with files in the repo (README.md & azure-pipelines.yml)
"--skip-first-run true" made no difference. probably because pipeline is not created

Page URL
https://learn.microsoft.com/en-us/cli/azure/pipelines?view=azure-cli-latest#az-pipelines-create

Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/pipelines.yml


Related command

az pipelines create

Errors

Please see description for customer error information.

Issue script & Debug output

n/a

Expected behavior

n/a

Environment Summary

n/a

Additional context

n/a

@dbradish-microsoft dbradish-microsoft added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jul 24, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Service Attention This issue is responsible by Azure service team. Pipelines labels Jul 24, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Jul 24, 2024

Thank you for opening this issue, we will look into it.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @v-anvashist, @V-hmusukula.

@srijayam
Copy link

attaching debug log debug_log.txt

@dbradish-microsoft dbradish-microsoft transferred this issue from Azure/azure-cli Oct 7, 2024
@dbradish-microsoft dbradish-microsoft changed the title Customer feedback | az pipeline create | create cli notes for "Azure Repo" does not work Customer feedback | az pipelines create | create cli notes for "Azure Repo" does not work Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. DevOps Pipelines Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants