Minura Punchihewa
Minura Punchihewa

Reputation: 2035

Perform Some Action if Azure Release Pre-deployment Approval is Rejected

I have a release pipeline defined in Azure DevOps. Pre-deployment approval has been configured in order for the release to be completed.

If approval is rejected, I want to perform some action, maybe run a Python script.

How can I achieve this, within the pipeline itself or otherwise?

Upvotes: 1

Views: 320

Answers (1)

Shamrai Aleksander
Shamrai Aleksander

Reputation: 16133

You may consider using Service Hooks (Integrate with service hooks, Create a service hook subscription programmatically):

enter image description here

Upvotes: 2

Related Questions