Darth Scitus
Darth Scitus

Reputation: 568

Azure Dev Ops Pipeline trigger on user?

I have set up multiple release pipelines to publish a web app to my server but now I want to trigger certain pipelines only with branches from a specific user.

Is this possible? I have so far been unable to find how this is done and the only filtering I can see is on a specific branch, which is a problem for me because I’m constantly adding and removing branches as features are completed and committed.

Upvotes: 1

Views: 672

Answers (2)

Daniel Mann
Daniel Mann

Reputation: 59055

Branches don't "belong" to anyone; they are simply pointers to commits. Thus, this becomes a matter of branch organization. i.e. user/dmann/my-topic-branch, then set the branch filter to build on user/dmann/*.

Upvotes: 0

Hugh Lin
Hugh Lin

Reputation: 19481

I want to trigger certain pipelines only with branches from a specific user.

For this issue , I am afraid it is not possible in azure devops. There is currently no such trigger in the release pipeline.

The trigers for the release pipeline are described in this official document.

You could submit a feature request in our Develop Community site. Our PM and product team will kindly review your suggestion.

You can enable the Pre-deployment approvals option in the Pre-deployment conditions and select the specific user as the approver so that the release pipeline can be deployed only through the specific approver approve.

Upvotes: 1

Related Questions