<t>For trigger of one pipeline from another azure official docs suggest this below solution. i.e. use pipeline triggers<br/>
<br/>
resources:<br/>
pipelines:<br/>
- pipeline: RELEASE_PIPELINE # any arbitrary name<br/>
source: PIPELINE_NAME. # name of the previous pipeline shown on azure UI portal<br/>
trigger:<br/>
branches:<br/>
include:<br/>
- dummy_branch # name of branch on which pipeline need to trigger<br/>
<br/>
```<br/>
<br/>
But actually what happens, is that it triggers two pipelines. Take an example, let suppose we have two pipelines A and B and we want to trigger B when A finishes. So in this scenario B runs 2 times, once when you do a commit (parallel with A) and second after A finishes.<br/>
<br/>
To avoid this **two times pipeline run problem follow the below solution**<br/>
<br/>
```<br/>
trigger: none # add this trigger value to none <br/>
resources:<br/>
pipelines:<br/>
- pipeline: RELEASE_PIPELINE # any arbitrary name<br/>
source: PIPELINE_NAME. # name of the pipeline shown on azure UI portal<br/>
trigger:<br/>
branches:<br/>
include:<br/>
- dummy_branch # name of branch on which pipeline need to trigger<br/>
<br/>
```<br/>
<br/>
By adding **trigger:none** second pipeline will not trigger at start commit and only trigger when first finish its job.<br/>
<br/>
Hope it will help.</t>