huserben / TfsExtensions

Extensions for TFS 2015+ such as custom Widgets (require TFS 2017) and Build Tasks
MIT License
45 stars 22 forks source link

Can Trigger Build Task trigger an azure pipeline from an azure pipeline? #201

Closed dovydasjaru closed 2 years ago

dovydasjaru commented 2 years ago

I want to know if it is possible to start a different azure pipeline from an azure pipeline. I looked into documentation but could not find a definitive way (if any) to trigger an azure pipeline.

huserben commented 2 years ago

Hi @dovydasjaru

could you elaborate on your use case:

But in short, I believe unless you are using Release Pipelines the answer is a yes you can do it. Essentially that's what the task is for - triggering other builds from a build (which nowadays is called pipeline :-)).

dovydasjaru commented 2 years ago

Hi @huserben

Thank you for your response.

I was confused about the term "build". Since I could not find any clarifications that build has the same meaning as pipeline. But now I managed to make it work with your extension.

To answer your questions: I was talking about YAML pipeline defined in the same project

Once again, thank you for your answer. And I will close this issue.