Devops - VishalPatangay/My-devops-repo GitHub Wiki

https://docs.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline-cli?view=azure-devops&tabs=browser

Create a new folder locally and fork a project from Git to the local folder

  1. add azuredevops extension with CLI az extension add --name azure-devops

  2. az devops configure current organization and project az devops configure --defaults organization=https://dev.azure.com/vishalpat2004 project=NewDevopsProject-Test

  3. Fork the project on the git to your local folder

  4. Add a pipeline to your project

az pipelines create --name "First-Java.CI" --repository "gitProject" --repository-type github --branch master