azure-cli-extensions: "az create pipeline ..." does not create a valid pipeline... attempt to edit resulting pipeline within dev.azure.com portal fails.

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az pipelines create Extension Name: azure-devops. Version: 0.18.0.

Errors:

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • In dev.azure.com UI create a sample organization / project (private). Reference “https://dev.azure.com/gkh-test-001/_git/gkh-test-001-a” created by “adm_ghenderson@ansell.com”.
  • In Repos blade, initialize the default repository.
  • In Pipelines blade, create and save a starter pipeline to create a sample azure-pipelines.yml file in master branch.
  • In Profiles screen create a full-access personal access token for the sample organization.
  • Back to terminal with the access token…
  • az devops login
  • az devops configure --defaults organization=https://dev.azure.com/gkh-test-001 project=gkh-test-001-a
  • az pipelines create --name asdf --repository gkh-test-001-a --repository-type tfsgit --branch master --yml-path "azure-pipelinesyml" --skip-first-run
  • Back to the dev.azure.com UI…
  • Navigate to the Pipelines blade, find the created “asdf” pipeline and attempt to “Edit” via the popup menu from the “…” icon.
  • Receives following error:
An unexpected error has occurred within this region of the page.
You can try reloading this component or refreshing the entire page.

Error: Cannot read property 'manageUrl' of undefined
Stack
in h
    in f
    in div
    in v
    in h
    in div
    in n
    in f
    in div
    in n
    in f
    in div
    in n
    in f
    in div
    in v
    in g

Expected Behavior

Expect to see the pipeline yaml file editing screen.

Environment Summary

macOS-10.14.6-x86_64-i386-64bit
Python 3.8.2
Installer: HOMEBREW

azure-cli 2.3.1 *

Extensions:
azure-devops 0.18.0
application-insights 0.1.7

Additional Context

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (1 by maintainers)

Most upvoted comments

@darthwillis Just ran a quick simple test, looks good. Have several pipeline configurations to create, will report back results. Thanks for the heads up!