- I installed az cli and azure-devops extension.
>> az --version
azure-cli 2.44.1
core 2.44.1
telemetry 1.0.8
Extensions:
azure-devops 0.25.0
Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
- set the default configuration for organization and project using
az devops configure --defaults organization=<org> project=<project>
- Run the following command
> az pipelines create --name 'MyCi'
Error: The following arguments are required: --repository
Sample:
az pipelines create --name 'CreatedByCLI' --yml-path /azure-pipelines.yml --repository AzureCLIrepo --branch main --repository-type tfsgit
Output: