Pipeline detect removing branch

Christopher Zotter November 28, 2018

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?

3 answers

0 votes
rahulmr January 19, 2023

I see a BRANCH_DELETED hook now, can anyone let me know if this is now possible?

0 votes
marco_pfeiffer May 8, 2020

If someone searches this from google, there was a feature request that was closed: https://jira.atlassian.com/browse/BCLOUD-17508

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events