Home > front end >  Can I run Azure DevOps pipeline without committing it?
Can I run Azure DevOps pipeline without committing it?

Time:12-23

I am planning to experiment building a pipeline using Azure DevOps. One thing that I noticed early on is, after azure-pipelines.yml created, I have to commit this first before being able to run it. But I want to experiment on it which revolves around trial and error. Doing multiple commit just to test things out are not feasible.

In Jenkins I can just define my steps and try to run it without committing the file. Is this also possible to do in Azure DevOps?

CodePudding user response:

You cannot run YAML pipelines without committing them, but you can create classic pipelines and run them without committing anything pipeline-related to the repository (except for the source code you want to build). Classic pipelines can later be turned (or copy-pasted, to be exact) into yaml pipelines with view YAML -option.

https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started/pipelines-get-started?view=azure-devops#define-pipelines-using-the-classic-interface

  • Related