I want to run a new environment for every feature branch. But I also want to delete the stack (which was created via pipeline) when den branch will be deleted. Is there any possibility to do this via BitBucket Pipeline?
Hi Christopher,
There is currently no way to create a Pipeline when a feature branch is deleted. Perhaps you could create a Pipeline that runs on the branch you merge into, assume that Pipeline is only run after a merge has complete.
You can also open a feature request and include details of your use-case there.
Thanks,
Phil
If someone searches this from google, there was a feature request that was closed: https://jira.atlassian.com/browse/BCLOUD-17508
I see a BRANCH_DELETED hook now, can anyone let me know if this is now possible?
It looks like you're new here. Sign in or register to get started.