Reputation: 141
In a YAML multi-stage pipeline, is it possible to trigger another pipeline on completion of a given stage, not the entire pipeline? e.g.
Pipeline A may have stages: Build => Test => Deploy Env 1 => Deploy Env 2
I want pipeline B to trigger after 'Deploy Env 1' completes.
Is this currently possible?
Upvotes: 0
Views: 141
Reputation: 40849
Your're only way is to use REST API to trigger pipeline B in a last step of Deploy Env 1
stage.
Please check this REST API
POST https://dev.azure.com/{organization}/{project}/_apis/build/builds?api-version=5.1
You can create a topic on developer community but it will take time until we get this.
Upvotes: 0